hg: jdk9/sandbox/langtools: 8166108: VerifyError passing anonymous inner class to supertype constructor
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Tue Sep 20 00:01:12 UTC 2016
Changeset: 535f80a0a2fd
Author: sadayapalam
Date: 2016-09-20 05:28 +0530
URL: http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/535f80a0a2fd
8166108: VerifyError passing anonymous inner class to supertype constructor
Summary: Anonymous classes instantitated in explicit constructor calls cannot have enclosing instance
Reviewed-by: vromero
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/AnonymousClass/AnonymousInSuperCallNegTest.java
+ test/tools/javac/AnonymousClass/AnonymousInSuperCallNegTest.out
+ test/tools/javac/AnonymousClass/AnonymousInSuperCallTest.java
More information about the jdk9-sandbox-changes
mailing list