Failed

org.eclipse.jdt.core.tests.compiler.regression.TypeAnnotationTest.test066_codeblocks_methodReference - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 10 builds (Since Failed#44 )
Took 0.94 sec.

Error Message

test066_codeblocks_methodReference - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
An exception has occurred in the compiler (12). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
 at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)\n
 at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)\n
 at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:194)\n
 at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:174)\n
 at jdk.compiler/com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1029)\n
 at jdk.compiler/com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)\n
 at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:307)\n
 at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:306)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:642)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1326)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:648)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1338)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2541)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2532)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4934)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2529)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3014)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3015)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3037)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2911)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:2949)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1892)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1885)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:453)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1551)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1731)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1800)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1774)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3375)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3541)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2967)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3209)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2270)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:708)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:756)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1307)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1111)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4884)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4775)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4704)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4649)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1341)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:973)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)\n
 at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)\n
 at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)\n

--------- Difference is ----------
 expected:<[]> but was:<[An exception has occurred in the compiler (12). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
 at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)\n
 at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)\n
 at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:194)\n
 at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:174)\n
 at jdk.compiler/com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1029)\n
 at jdk.compiler/com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)\n
 at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:307)\n
 at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:306)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:642)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1326)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:648)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1338)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2541)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2532)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4934)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2529)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3014)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3015)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3037)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2911)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:2949)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1892)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1885)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:453)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1551)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1731)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1800)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1774)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3375)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3541)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2967)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3209)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2270)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:708)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:756)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1307)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1111)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4884)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4775)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4704)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4649)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1341)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:973)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)\n
 at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)\n
 at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
test066_codeblocks_methodReference - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
An exception has occurred in the compiler (12). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
	at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)\n
	at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)\n
	at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:194)\n
	at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:174)\n
	at jdk.compiler/com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1029)\n
	at jdk.compiler/com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)\n
	at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:307)\n
	at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:306)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:642)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1326)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:648)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1338)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2541)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2532)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4934)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2529)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3014)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3015)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3037)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2911)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:2949)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1892)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1885)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:453)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1551)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1731)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1800)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1774)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3375)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3541)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2967)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3209)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2270)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:708)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:756)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1307)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1111)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4884)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4775)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4704)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4649)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1341)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:973)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)\n
	at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)\n
	at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)\n

--------- Difference is ----------
 expected:<[]> but was:<[An exception has occurred in the compiler (12). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
	at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)\n
	at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)\n
	at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:194)\n
	at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:174)\n
	at jdk.compiler/com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1029)\n
	at jdk.compiler/com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)\n
	at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:307)\n
	at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:306)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:642)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1326)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:648)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1338)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2541)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2532)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4934)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2529)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3014)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3015)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3037)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2911)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:2949)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1892)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1885)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:453)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1551)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1731)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1800)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1774)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3375)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3541)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2967)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3209)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2270)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:708)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:756)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1307)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1111)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4884)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4775)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4704)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4649)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1341)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:973)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)\n
	at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)\n
	at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.TypeAnnotationTest.test066_codeblocks_methodReference(TypeAnnotationTest.java:3294)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.TypeAnnotationTest#test066_codeblocks_methodReference - 12
X.java [
interface I {
    Object copy(int [] ia);
}
public class X  {
    public static void main(String [] args) {
        I i = @B(1) int @B(2)[]::<String>clone;
        i.copy(new int[10]); 
    }
}

]
B.java [
import java.lang.annotation.*;
@Target(ElementType.TYPE_USE)
@Retention(RetentionPolicy.RUNTIME)
@interface B {
	int value() default -1;
}

]


Full results sent to /tmp/comptest/run.1573297474160/12_20191109_110435.txt

Standard Error

--- javac err: ---
An exception has occurred in the compiler (12). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError
	at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)
	at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)
	at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:194)
	at jdk.compiler/com.sun.tools.javac.code.TypeMetadata$Annotations.combine(TypeMetadata.java:174)
	at jdk.compiler/com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1029)
	at jdk.compiler/com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
	at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:307)
	at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:306)
	at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:642)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1326)
	at jdk.compiler/com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:648)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1338)
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2541)
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2532)
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)
	at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4934)
	at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2529)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3014)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3015)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2954)
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:993)
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4854)
	at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3037)
	at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2911)
	at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:2949)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1892)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1885)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:453)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1551)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1731)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1800)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1774)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3375)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3541)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2967)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3209)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2270)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:708)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:756)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1307)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1111)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:664)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:737)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4884)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4775)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4704)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4649)
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1341)
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:973)
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
	at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
	at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)

----------------------------------------