hg: jdk/sandbox: 8215407: javac should reject class files with bad EnclosingMethod attributes
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Thu Apr 11 13:00:18 UTC 2019
Changeset: a84c46287f28
Author: jlahoda
Date: 2019-04-11 14:49 +0200
URL: http://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes
mailing list