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

poonam.bajaj at oracle.com poonam.bajaj at oracle.com
Wed Jul 13 03:24:16 UTC 2016


Changeset: 9d07e8518392
Author:    poonam
Date:      2016-07-12 22:31 +0000
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/9d07e8518392

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: hseigel

! 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 jdk8u-dev-changes mailing list