hg: jdk7u/jdk7u-dev/hotspot: 8041918: BootstrapMethods attribute cannot be empty.

sergey.gabdurakhmanov at oracle.com sergey.gabdurakhmanov at oracle.com
Tue Jul 15 08:09:53 UTC 2014


Changeset: 29a40195a39c
Author:    sgabdura
Date:      2014-07-14 14:53 +0200
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u-dev/hotspot/rev/29a40195a39c

8041918: BootstrapMethods attribute cannot be empty.
Summary: Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.
Reviewed-by: lfoltan, coleenp, hseigel

! src/share/vm/classfile/classFileParser.cpp
+ test/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java
+ test/runtime/classFileParserBug/emptynumbootstrapmethods.jar
+ test/runtime/classFileParserBug/emptynumbootstrapmethods1.jcod
+ test/runtime/classFileParserBug/emptynumbootstrapmethods2.jcod



More information about the jdk7u-dev mailing list