Failed

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

Failing for the past 11 builds (Since #81 )
Took 0.91 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 (10.0.1). 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:1027)\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:300)\n
 at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:284)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1308)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1319)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2604)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2595)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:5003)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2592)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3077)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3078)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3100)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2974)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:3012)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1874)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1867)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:460)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1553)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1791)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1765)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3353)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3519)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2954)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3000)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2190)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:693)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1172)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:741)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1292)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1096)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:866)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4613)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4542)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4487)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1333)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:965)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:306)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:165)\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 (10.0.1). 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:1027)\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:300)\n
 at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:284)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1308)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1319)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2604)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2595)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:5003)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2592)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3077)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3078)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
 at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3100)\n
 at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2974)\n
 at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:3012)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1874)\n
 at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1867)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:460)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1553)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1791)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1765)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3353)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3519)\n
 at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2954)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3000)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2190)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:693)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1172)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:741)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1292)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1096)\n
 at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:866)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4722)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4613)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4542)\n
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4487)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1333)\n
 at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:965)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:306)\n
 at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:165)\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 (10.0.1). 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:1027)\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:300)\n
	at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:284)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1308)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1319)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2604)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2595)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:5003)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2592)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3077)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3078)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3100)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2974)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:3012)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1874)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1867)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:460)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1553)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1791)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1765)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3353)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3519)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2954)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3000)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2190)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:693)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1172)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:741)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1292)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1096)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:866)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4613)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4542)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4487)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1333)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:965)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:306)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:165)\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 (10.0.1). 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:1027)\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:300)\n
	at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:284)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1308)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1319)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2604)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2595)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:5003)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2592)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3077)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3078)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)\n
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3100)\n
	at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2974)\n
	at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:3012)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1874)\n
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1867)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:460)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1553)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1791)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1765)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3353)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3519)\n
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2954)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3000)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2190)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:693)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1172)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:741)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1292)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1096)\n
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:866)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4722)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4613)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4542)\n
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4487)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1333)\n
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:965)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:306)\n
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:165)\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 - 10
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/genie.jdt/comptest/run.1563077023750/10.0.1_20190714_000352.txt

Standard Error

--- javac err: ---
An exception has occurred in the compiler (10.0.1). 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:1027)
	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:300)
	at jdk.compiler/com.sun.tools.javac.code.Symtab$1.complete(Symtab.java:284)
	at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1308)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1319)
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2604)
	at jdk.compiler/com.sun.tools.javac.code.Types$16.visitClassType(Types.java:2595)
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)
	at jdk.compiler/com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:5003)
	at jdk.compiler/com.sun.tools.javac.code.Types.interfaces(Types.java:2592)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3077)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3078)
	at jdk.compiler/com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:3017)
	at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.accept(Type.java:992)
	at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4923)
	at jdk.compiler/com.sun.tools.javac.code.Types.membersClosure(Types.java:3100)
	at jdk.compiler/com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2974)
	at jdk.compiler/com.sun.tools.javac.code.Types.implementation(Types.java:3012)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1874)
	at jdk.compiler/com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1867)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:460)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1553)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1722)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1791)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1765)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve$MethodReferenceLookupHelper.lookup(Resolve.java:3353)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3519)
	at jdk.compiler/com.sun.tools.javac.comp.Resolve.resolveMemberReference(Resolve.java:2954)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitReference(Attr.java:3000)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2190)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:693)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1172)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStats(Attr.java:741)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1292)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1096)
	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:866)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:722)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4722)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4613)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4542)
	at jdk.compiler/com.sun.tools.javac.comp.Attr.attrib(Attr.java:4487)
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1333)
	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:965)
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:306)
	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:165)
	at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
	at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)

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