changeset 50625 | d9753e3db0c6 |
parent 50578 | e2a7f431f65c |
child 51138 | 914f305ba6fa |
--- a/src/hotspot/share/prims/jvmtiEnv.cpp Tue Jun 19 09:34:39 2018 +0200 +++ b/src/hotspot/share/prims/jvmtiEnv.cpp Tue Jun 19 09:43:53 2018 +0200 @@ -657,7 +657,11 @@ // add the jar file to the bootclasspath log_info(class, load)("opened: %s", zip_entry->name()); +#if INCLUDE_CDS ClassLoaderExt::append_boot_classpath(zip_entry); +#else + ClassLoader::add_to_boot_append_entries(zip_entry); +#endif return JVMTI_ERROR_NONE; } else { return JVMTI_ERROR_WRONG_PHASE;