hg: jdk/submit: 8215407: javac should reject class files with bad EnclosingMethod attributes
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Thu Apr 11 12:55:26 UTC 2019
Changeset: a84c46287f28
Author: jlahoda
Date: 2019-04-11 14:49 +0200
URL: http://hg.openjdk.java.net/jdk/submit/rev/a84c46287f28
8215407: javac should reject class files with bad EnclosingMethod attributes
Summary: Reject classfiles with broken EnclosingMethod attribute.
Reviewed-by: jjg
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
+ test/langtools/tools/javac/classreader/8215407/BrokenEnclosingClass.java
+ test/langtools/tools/javac/classreader/8215407/Enclosing$1.jcod
+ test/langtools/tools/javac/classreader/8215407/UnrelatedClass.jcod
More information about the jdk-submit-changes
mailing list