mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8267556: Enhance class paths check during runtime
Reviewed-by: minqi, iklam
This commit is contained in:
parent
8c8422e0f8
commit
4fd2a14997
7 changed files with 100 additions and 6 deletions
|
@ -736,6 +736,9 @@ ClassPathEntry* ClassLoader::create_class_path_entry(JavaThread* current,
|
|||
if (zip != NULL && error_msg == NULL) {
|
||||
new_entry = new ClassPathZipEntry(zip, path, is_boot_append, from_class_path_attr);
|
||||
} else {
|
||||
#if INCLUDE_CDS
|
||||
ClassLoaderExt::set_has_non_jar_in_classpath();
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
log_info(class, path)("opened: %s", path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue