equal
deleted
inserted
replaced
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 |