src/hotspot/share/prims/jvmtiEnv.cpp
changeset 50625 d9753e3db0c6
parent 50578 e2a7f431f65c
child 51138 914f305ba6fa
equal deleted inserted replaced
50624:724ed31f9d05 50625:d9753e3db0c6
   655 
   655 
   656     ObjectLocker ol(loader_lock, thread);
   656     ObjectLocker ol(loader_lock, thread);
   657 
   657 
   658     // add the jar file to the bootclasspath
   658     // add the jar file to the bootclasspath
   659     log_info(class, load)("opened: %s", zip_entry->name());
   659     log_info(class, load)("opened: %s", zip_entry->name());
       
   660 #if INCLUDE_CDS
   660     ClassLoaderExt::append_boot_classpath(zip_entry);
   661     ClassLoaderExt::append_boot_classpath(zip_entry);
       
   662 #else
       
   663     ClassLoader::add_to_boot_append_entries(zip_entry);
       
   664 #endif
   661     return JVMTI_ERROR_NONE;
   665     return JVMTI_ERROR_NONE;
   662   } else {
   666   } else {
   663     return JVMTI_ERROR_WRONG_PHASE;
   667     return JVMTI_ERROR_WRONG_PHASE;
   664   }
   668   }
   665 
   669