src/hotspot/share/oops/instanceKlass.cpp
changeset 49348 fde3feaaa4ed
parent 48884 7e17b00dc245
child 49360 886acec3b4c6
equal deleted inserted replaced
49347:edb65305d3ac 49348:fde3feaaa4ed
   182   // class count.  Can get OOM here.
   182   // class count.  Can get OOM here.
   183   if (HAS_PENDING_EXCEPTION) {
   183   if (HAS_PENDING_EXCEPTION) {
   184     return NULL;
   184     return NULL;
   185   }
   185   }
   186 
   186 
   187   assert(ik != NULL, "invariant");
       
   188 
       
   189   const bool publicize = !parser.is_internal();
       
   190 
       
   191   // Add all classes to our internal class loader list here,
       
   192   // including classes in the bootstrap (NULL) class loader.
       
   193   loader_data->add_class(ik, publicize);
       
   194   return ik;
   187   return ik;
   195 }
   188 }
   196 
   189 
   197 
   190 
   198 // copy method ordering from resource area to Metaspace
   191 // copy method ordering from resource area to Metaspace