changeset 18066:4930a95e6ef5

8046213: Test test/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java Fails Reviewed-by: lfoltan
author asaha
date Mon, 09 Jun 2014 22:21:12 -0700
parents e8d870411858
children 1e657b902392
files src/share/vm/classfile/classFileParser.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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();