JDK : tiger b54
Platforms[s] : all
testbase : /java/sqe4/tools/1.5.0
Failing tests : javam/regression/5057952
Unzip the attachment, edit doit.sh for JAVA_HOME and run doit.sh.
You can get 2 differing stack traces depending on type of bad annotation.
/export/jdk150_PITs/bin/apt -cp basicAP.jar -nocompile bug/A1.java bug/IB1.java
An exception has occurred in the compiler (1.5.0-auto-tiger). 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.comp.Attr.visitTree(Attr.java:2288)
at com.sun.tools.javac.tree.Tree$Visitor.visitAnnotation(Tree.java:1275)
at com.sun.tools.javac.tree.Tree$Annotation.accept(Tree.java:1115)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:256)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:271)
at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:179)
at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:165)
at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:704)
at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:39)
at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:685)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:94)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:86)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:473)
at com.sun.tools.javac.comp.Enter.main(Enter.java:426)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:419)
at com.sun.tools.apt.main.Main.compile(Main.java:940)
at com.sun.tools.apt.main.Main.compile(Main.java:825)
at com.sun.tools.apt.Main.compile(Main.java:41)
at com.sun.tools.apt.Main.main(Main.java:32)
Exit code from was 4
Second stack trace:
/export/jdk150_PITs/bin/apt -cp basicAP.jar -nocompile bug2/A1.java bug2/IB1.java
bug2/IB1.java:5: cannot find symbol
symbol : method a1()
location: @interface A1
@A1(a1=@A2 )void m6();
^
An exception has occurred in the compiler (1.5.0-auto-tiger). 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.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt.java:171)
at com.sun.tools.javac.tree.Tree$Annotation.accept(Tree.java:1115)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.visitAssign(TreeScanner.java:201)
at com.sun.tools.javac.tree.Tree$Assign.accept(Tree.java:887)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitAnnotation(TreeScanner.java:270)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt.java:170)
at com.sun.tools.javac.tree.Tree$Annotation.accept(Tree.java:1115)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitModifiers(TreeScanner.java:265)
at com.sun.tools.javac.tree.Tree$Modifiers.accept(Tree.java:1126)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.visitMethodDef(TreeScanner.java:68)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitMethodDef(Apt.java:162)
at com.sun.tools.javac.tree.Tree$MethodDef.accept(Tree.java:482)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitClassDef(TreeScanner.java:64)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitClassDef(Apt.java:156)
at com.sun.tools.javac.tree.Tree$ClassDef.accept(Tree.java:438)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitTopLevel(TreeScanner.java:52)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitTopLevel(Apt.java:134)
at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:386)
at com.sun.tools.apt.comp.Apt.main(Apt.java:182)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:422)
at com.sun.tools.apt.main.Main.compile(Main.java:940)
at com.sun.tools.apt.main.Main.compile(Main.java:825)
at com.sun.tools.apt.Main.compile(Main.java:41)
at com.sun.tools.apt.Main.main(Main.java:32)
Platforms[s] : all
testbase : /java/sqe4/tools/1.5.0
Failing tests : javam/regression/5057952
Unzip the attachment, edit doit.sh for JAVA_HOME and run doit.sh.
You can get 2 differing stack traces depending on type of bad annotation.
/export/jdk150_PITs/bin/apt -cp basicAP.jar -nocompile bug/A1.java bug/IB1.java
An exception has occurred in the compiler (1.5.0-auto-tiger). 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.comp.Attr.visitTree(Attr.java:2288)
at com.sun.tools.javac.tree.Tree$Visitor.visitAnnotation(Tree.java:1275)
at com.sun.tools.javac.tree.Tree$Annotation.accept(Tree.java:1115)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:256)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:271)
at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:179)
at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:165)
at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:704)
at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:39)
at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:685)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:94)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:86)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:473)
at com.sun.tools.javac.comp.Enter.main(Enter.java:426)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:419)
at com.sun.tools.apt.main.Main.compile(Main.java:940)
at com.sun.tools.apt.main.Main.compile(Main.java:825)
at com.sun.tools.apt.Main.compile(Main.java:41)
at com.sun.tools.apt.Main.main(Main.java:32)
Exit code from was 4
Second stack trace:
/export/jdk150_PITs/bin/apt -cp basicAP.jar -nocompile bug2/A1.java bug2/IB1.java
bug2/IB1.java:5: cannot find symbol
symbol : method a1()
location: @interface A1
@A1(a1=@A2 )void m6();
^
An exception has occurred in the compiler (1.5.0-auto-tiger). 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.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt.java:171)
at com.sun.tools.javac.tree.Tree$Annotation.accept(Tree.java:1115)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.visitAssign(TreeScanner.java:201)
at com.sun.tools.javac.tree.Tree$Assign.accept(Tree.java:887)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitAnnotation(TreeScanner.java:270)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt.java:170)
at com.sun.tools.javac.tree.Tree$Annotation.accept(Tree.java:1115)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitModifiers(TreeScanner.java:265)
at com.sun.tools.javac.tree.Tree$Modifiers.accept(Tree.java:1126)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.visitMethodDef(TreeScanner.java:68)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitMethodDef(Apt.java:162)
at com.sun.tools.javac.tree.Tree$MethodDef.accept(Tree.java:482)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitClassDef(TreeScanner.java:64)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitClassDef(Apt.java:156)
at com.sun.tools.javac.tree.Tree$ClassDef.accept(Tree.java:438)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:34)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:42)
at com.sun.tools.javac.tree.TreeScanner.visitTopLevel(TreeScanner.java:52)
at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitTopLevel(Apt.java:134)
at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:386)
at com.sun.tools.apt.comp.Apt.main(Apt.java:182)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:422)
at com.sun.tools.apt.main.Main.compile(Main.java:940)
at com.sun.tools.apt.main.Main.compile(Main.java:825)
at com.sun.tools.apt.Main.compile(Main.java:41)
at com.sun.tools.apt.Main.main(Main.java:32)