< prev index next >

src/hotspot/share/classfile/classFileParser.cpp

Print this page

        

@@ -3177,19 +3177,10 @@
       valid_klass_reference_at(class_info_index),
       "Nest member class_info_index %u has bad constant type in class file %s",
       class_info_index, CHECK_0);
     nest_members->at_put(index++, class_info_index);
   }
-  if (_need_verify) {
-    for (int i = 0; i < length; i++) {
-      for (int j = i + 1; j < length; j++) {
-        guarantee_property((nest_members->at(i) != nest_members->at(j)),
-                           "Duplicate entry in NestMembers in class file %s",
-                           CHECK_0);
-      }
-    }
-  }
   assert(index == size, "wrong size");
 
   // Restore buffer's current position.
   cfs->set_current(current_mark);
 
< prev index next >