hg: jdk9/hs-rt/hotspot: 8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow

harold.seigel at oracle.com harold.seigel at oracle.com
Wed Dec 23 20:11:53 UTC 2015


Changeset: 06da8d1995bd
Author:    hseigel
Date:      2015-12-23 13:02 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/06da8d1995bd

8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow
Summary: Detect zero length signatures and throw ClassFormatError before bad dereference occurs
Reviewed-by: coleenp, lfoltan, acorn, gtriantafill

! src/share/vm/classfile/classFileParser.cpp
+ test/runtime/classFileParserBug/BadNameAndType.java
+ test/runtime/classFileParserBug/emptyNameUtf8.jcod
+ test/runtime/classFileParserBug/emptySigUtf8.jcod



More information about the jdk9-all-changes mailing list