提交 4ecfc1b8 编写于 作者: J jjg

7196774: javac cannot be built with JDK 6 after 7151010

Reviewed-by: mcimadamore
上级 58a6eff9
......@@ -26,7 +26,6 @@
package com.sun.tools.javac.comp;
import java.util.Map;
import java.util.Objects;
import com.sun.tools.javac.util.*;
import com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition;
......@@ -151,10 +150,10 @@ public class Annotate {
Map<Symbol.TypeSymbol, ListBuffer<Attribute.Compound>> annotated,
Map<Attribute.Compound, JCDiagnostic.DiagnosticPosition> pos,
Log log) {
Objects.requireNonNull(env);
Objects.requireNonNull(annotated);
Objects.requireNonNull(pos);
Objects.requireNonNull(log);
Assert.checkNonNull(env);
Assert.checkNonNull(annotated);
Assert.checkNonNull(pos);
Assert.checkNonNull(log);
this.env = env;
this.annotated = annotated;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册