-
Bug
-
Resolution: Duplicate
-
P3
-
6
-
generic
-
generic
JCK : JCK6.0 b22
J2SE : FAIL - mustang *since b71*, b80 also involved
Platform[s] : FAIL - seems to be all
switch/Mode : FAIL - default
Regression : since JDK5.0u6
Problem description.
the following tests causes compiler to raise assertion:
lang/PKGS/pkgs057/pkgs05707/pkgs05707.html
lang/PKGS/pkgs057/pkgs05708/pkgs05708.html
For example, running the following command:
Z:/Links/stt/jdk_promotions/JDK6.0/b80/binaries/windows-i586/jdk1.6.0/bin/javac -classpath Z:/Links/stt/jck_promotions/6.0/beta/b21/binaries/JCK-compiler-60/classes Z:/Links/stt/jck_promotions/6.0/beta/b21/binaries/JCK-compiler-60/tests/lang/PKGS/pkgs057/pkgs05707/pkgs05707.java Z:/Links/stt/jck_promotions/6.0/beta/b21/binaries/JCK-compiler-60/tests/lang/PKGS/pkgs057/pkgs05707/pkgs05707a.java
causes compiler to raise assertion:
An exception has occurred in the compiler (1.6.0-beta2). 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.AssertionError
at com.sun.tools.javac.code.Symbol.clone(Symbol.java:120)
at com.sun.tools.javac.comp.Resolve.findVar(Resolve.java:488)
at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:990)
at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1172)
at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1634)
at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1543)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1719)
at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1518)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:310)
at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1538)
at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1418)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:303)
at com.sun.tools.javac.comp.Attr.visitIf(Attr.java:931)
at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1046)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:323)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:339)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:638)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:735)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:323)
at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:557)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:635)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:323)
at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2590)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2521)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2457)
at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:911)
at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:887)
at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:666)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:637)
at com.sun.tools.javac.main.Main.compile(Main.java:333)
at com.sun.tools.javac.main.Main.compile(Main.java:255)
at com.sun.tools.javac.main.Main.compile(Main.java:246)
at com.sun.tools.javac.Main.compile(Main.java:70)
at com.sun.tools.javac.Main.main(Main.java:55)
J2SE : FAIL - mustang *since b71*, b80 also involved
Platform[s] : FAIL - seems to be all
switch/Mode : FAIL - default
Regression : since JDK5.0u6
Problem description.
the following tests causes compiler to raise assertion:
lang/PKGS/pkgs057/pkgs05707/pkgs05707.html
lang/PKGS/pkgs057/pkgs05708/pkgs05708.html
For example, running the following command:
Z:/Links/stt/jdk_promotions/JDK6.0/b80/binaries/windows-i586/jdk1.6.0/bin/javac -classpath Z:/Links/stt/jck_promotions/6.0/beta/b21/binaries/JCK-compiler-60/classes Z:/Links/stt/jck_promotions/6.0/beta/b21/binaries/JCK-compiler-60/tests/lang/PKGS/pkgs057/pkgs05707/pkgs05707.java Z:/Links/stt/jck_promotions/6.0/beta/b21/binaries/JCK-compiler-60/tests/lang/PKGS/pkgs057/pkgs05707/pkgs05707a.java
causes compiler to raise assertion:
An exception has occurred in the compiler (1.6.0-beta2). 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.AssertionError
at com.sun.tools.javac.code.Symbol.clone(Symbol.java:120)
at com.sun.tools.javac.comp.Resolve.findVar(Resolve.java:488)
at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:990)
at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1172)
at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1634)
at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1543)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1719)
at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1518)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:310)
at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1538)
at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1418)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:303)
at com.sun.tools.javac.comp.Attr.visitIf(Attr.java:931)
at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1046)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:323)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:339)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:638)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:735)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:323)
at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:557)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:635)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:288)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:323)
at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2590)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2521)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2457)
at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:911)
at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:887)
at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:666)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:637)
at com.sun.tools.javac.main.Main.compile(Main.java:333)
at com.sun.tools.javac.main.Main.compile(Main.java:255)
at com.sun.tools.javac.main.Main.compile(Main.java:246)
at com.sun.tools.javac.Main.compile(Main.java:70)
at com.sun.tools.javac.Main.main(Main.java:55)
- duplicates
-
JDK-6392998 REGRESSION/CONFORMANCE: Mustang compiler throws AssertionError (beta2-b71 and higher)
- Closed