hg: jdk/sandbox: 8244573: java.lang.ArrayIndexOutOfBoundsException thrown for malformed class file

chris.hegarty at oracle.com chris.hegarty at oracle.com
Sun May 31 00:16:00 UTC 2020


Changeset: 8e728a117082
Author:    asotona
Date:      2020-05-30 20:10 -0400
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/8e728a117082

8244573: java.lang.ArrayIndexOutOfBoundsException thrown for malformed class file
Summary: Fixed java.lang.ArrayIndexOutOfBoundsException in com.sun.tools.classfile.Code_attribute.getInstructions() for methods with no instructions
Reviewed-by: vromero

! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Code_attribute.java
+ test/langtools/tools/javap/8244573/Malformed.jcod
+ test/langtools/tools/javap/8244573/T8244573.java



More information about the jdk-sandbox-changes mailing list