hg: jdk9/dev/langtools: 8166635: getEnclosedElements() on package causes BadClassFile error

jan.lahoda at oracle.com jan.lahoda at oracle.com
Thu Nov 3 10:47:36 UTC 2016


Changeset: 692418f52877
Author:    jlahoda
Date:      2016-11-03 11:46 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/692418f52877

8166635: getEnclosedElements() on package causes BadClassFile error
Summary: Properly reading typevars from enclosing scopes for local classes.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
+ test/tools/javac/processing/model/nestedTypeVars/NestedTypeVars.java
+ test/tools/javac/processing/model/nestedTypeVars/NestedTypeVars.out



More information about the jdk9-dev-changes mailing list