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

vicente.romero at oracle.com vicente.romero at oracle.com
Sun May 31 00:10:47 UTC 2020


Changeset: 8e728a117082
Author:    asotona
Date:      2020-05-30 20:10 -0400
URL:       https://hg.openjdk.java.net/jdk/submit/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-submit-changes mailing list