< prev index next >

src/hotspot/share/prims/jvmtiEnv.cpp

Print this page
rev 50507 : 8204965: Fix '--disable-cds' and disable CDS on AIX by default

@@ -647,11 +647,15 @@
 
     ObjectLocker ol(loader_lock, thread);
 
     // 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;
   }
 
< prev index next >