-
Bug
-
Resolution: Fixed
-
P3
-
8, 9
-
b48
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085328 | emb-9 | Jan Lahoda | P3 | Resolved | Fixed | team |
---
public class Main<A, A, T> {
}
---
Compiling it with:
$ javac -fullversion
javac full version "1.8.0-b132"
Leads to:
An exception has occurred in the compiler (1.8.0). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NullPointerException
at com.sun.tools.javac.comp.MemberEnter.baseEnv(MemberEnter.java:1385)
at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:1046)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:560)
at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1024)
at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:960)
at com.sun.tools.javac.code.Symbol$ClassSymbol.getKind(Symbol.java:1088)
at com.sun.tools.javac.code.Kinds.kindName(Kinds.java:162)
at com.sun.tools.javac.comp.Check.duplicateError(Check.java:327)
at com.sun.tools.javac.comp.Check.checkUnique(Check.java:3370)
at com.sun.tools.javac.comp.Enter.visitTypeParameter(Enter.java:458)
at com.sun.tools.javac.tree.JCTree$JCTypeParameter.accept(JCTree.java:2218)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:262)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:276)
at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:422)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:687)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:262)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:276)
at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:338)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:518)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:262)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:276)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:490)
at com.sun.tools.javac.comp.Enter.main(Enter.java:475)
at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:985)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
at com.sun.tools.javac.main.Main.compile(Main.java:523)
at com.sun.tools.javac.main.Main.compile(Main.java:381)
at com.sun.tools.javac.main.Main.compile(Main.java:370)
at com.sun.tools.javac.main.Main.compile(Main.java:361)
at com.sun.tools.javac.Main.compile(Main.java:56)
at com.sun.tools.javac.Main.main(Main.java:42)
- backported by
-
JDK-8085328 javac crashes when there are duplicated type parameters
-
- Resolved
-
- duplicates
-
JDK-8044804 Repeated use of TypeVariable name crashes javac
-
- Closed
-
-
JDK-8079870 Java compiler crashes with NullPointerException
-
- Closed
-
-
JDK-8133312 Nullpoint-Exception during compilation
-
- Closed
-
-
JDK-8148135 nullpointer exception occuring in a generic class
-
- Closed
-
-
JDK-8158119 Compiler fails with java.lang.NullPointerException and requests that I file a bug.
-
- Closed
-
-
JDK-8199115 NullPointerException at com.sun.tools.javac.comp.MemberEnter.baseEnv
-
- Closed
-
- relates to
-
JDK-7086595 Error message bug: name of initializer is 'null'
-
- Closed
-
-
JDK-8133312 Nullpoint-Exception during compilation
-
- Closed
-