-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b125
-
Verified
There's a bug in com.sun.tools.javac.jvm.ClassReader; at line 1068 [1], the code should be
int newSize = Math.max(register + 1, parameterNameIndices.length + 8);
otherwise the line 1072 will throw an AIOOBE.
see this thread on the ASM mailing list for the whole story:
http://mail.ow2.org/wws/arc/asm/2015-09/msg00005.html
[1] http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/file/ebe1e9d17713/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java#l1068
int newSize = Math.max(register + 1, parameterNameIndices.length + 8);
otherwise the line 1072 will throw an AIOOBE.
see this thread on the ASM mailing list for the whole story:
http://mail.ow2.org/wws/arc/asm/2015-09/msg00005.html
[1] http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/file/ebe1e9d17713/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java#l1068
- duplicates
-
JDK-8132697 ArrayIndexOutOfBoundsException at com.sun.tools.javac.jvm.ClassReader$8.read(
-
- Closed
-