hotspot/src/share/vm/prims/jvmtiEnv.cpp
changeset 27672 d24adedd3655
parent 27654 4e508c2376f7
child 29081 c61eb4914428
--- a/hotspot/src/share/vm/prims/jvmtiEnv.cpp	Tue Nov 18 20:51:55 2014 +0000
+++ b/hotspot/src/share/vm/prims/jvmtiEnv.cpp	Tue Nov 18 03:38:50 2014 -0800
@@ -23,6 +23,7 @@
  */
 
 #include "precompiled.hpp"
+#include "classfile/classLoaderExt.hpp"
 #include "classfile/systemDictionary.hpp"
 #include "classfile/vmSymbols.hpp"
 #include "interpreter/bytecodeStream.hpp"
@@ -472,7 +473,7 @@
     if (TraceClassLoading) {
       tty->print_cr("[Opened %s]", zip_entry->name());
     }
-    ClassLoader::add_to_list(zip_entry);
+    ClassLoaderExt::append_boot_classpath(zip_entry);
     return JVMTI_ERROR_NONE;
   } else {
     return JVMTI_ERROR_WRONG_PHASE;