< prev index next >

src/hotspot/share/oops/instanceKlass.cpp

Print this page

        

@@ -182,17 +182,10 @@
   // class count.  Can get OOM here.
   if (HAS_PENDING_EXCEPTION) {
     return NULL;
   }
 
-  assert(ik != NULL, "invariant");
-
-  const bool publicize = !parser.is_internal();
-
-  // Add all classes to our internal class loader list here,
-  // including classes in the bootstrap (NULL) class loader.
-  loader_data->add_class(ik, publicize);
   return ik;
 }
 
 
 // copy method ordering from resource area to Metaspace
< prev index next >