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

7196774: javac cannot be built with JDK 6 after 7151010

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