# HG changeset patch # User asaha # Date 1402377672 25200 # Node ID 4930a95e6ef5bb8c2b378030ddc54365506e3577 # Parent e8d87041185854190d76ae3e63a89a2eab2b139a 8046213: Test test/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java Fails Reviewed-by: lfoltan diff -r e8d870411858 -r 4930a95e6ef5 src/share/vm/classfile/classFileParser.cpp --- a/src/share/vm/classfile/classFileParser.cpp Thu Jun 05 15:26:51 2014 -0700 +++ b/src/share/vm/classfile/classFileParser.cpp Mon Jun 09 22:21:12 2014 -0700 @@ -2780,11 +2780,6 @@ ClassFileStream* cfs = stream(); u1* current_start = cfs->current(); - guarantee_property(attribute_byte_length > sizeof(u2), - "Invalid BootstrapMethods attribute length %u in class file %s", - attribute_byte_length, - CHECK); - cfs->guarantee_more(attribute_byte_length, CHECK); int attribute_array_length = cfs->get_u2_fast();