equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
|
26 #include "classfile/classLoaderExt.hpp" |
26 #include "classfile/systemDictionary.hpp" |
27 #include "classfile/systemDictionary.hpp" |
27 #include "classfile/vmSymbols.hpp" |
28 #include "classfile/vmSymbols.hpp" |
28 #include "interpreter/bytecodeStream.hpp" |
29 #include "interpreter/bytecodeStream.hpp" |
29 #include "interpreter/interpreter.hpp" |
30 #include "interpreter/interpreter.hpp" |
30 #include "jvmtifiles/jvmtiEnv.hpp" |
31 #include "jvmtifiles/jvmtiEnv.hpp" |
470 |
471 |
471 // add the jar file to the bootclasspath |
472 // add the jar file to the bootclasspath |
472 if (TraceClassLoading) { |
473 if (TraceClassLoading) { |
473 tty->print_cr("[Opened %s]", zip_entry->name()); |
474 tty->print_cr("[Opened %s]", zip_entry->name()); |
474 } |
475 } |
475 ClassLoader::add_to_list(zip_entry); |
476 ClassLoaderExt::append_boot_classpath(zip_entry); |
476 return JVMTI_ERROR_NONE; |
477 return JVMTI_ERROR_NONE; |
477 } else { |
478 } else { |
478 return JVMTI_ERROR_WRONG_PHASE; |
479 return JVMTI_ERROR_WRONG_PHASE; |
479 } |
480 } |
480 |
481 |