< prev index next >

src/hotspot/share/classfile/classFileParser.cpp

Print this page

        

@@ -3568,10 +3568,13 @@
           check_property(
                          valid_klass_reference_at(class_info_index),
                          "Nest-host class_info_index %u has bad constant type in class file %s",
                          class_info_index, CHECK);
           _nest_host = class_info_index;
+        } else {
+          // Unknown attribute
+          cfs->skip_u1(attribute_length, CHECK);
         }
       } else {
         // Unknown attribute
         cfs->skip_u1(attribute_length, CHECK);
       }
< prev index next >