mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8296270: Memory leak in ClassLoader::setup_bootstrap_search_path_impl
Co-authored-by: Justin King <jcking@google.com> Reviewed-by: dholmes, jiangli
This commit is contained in:
parent
c2f7638389
commit
556377a058
1 changed files with 1 additions and 4 deletions
|
@ -649,10 +649,7 @@ void ClassLoader::setup_bootstrap_search_path_impl(JavaThread* current, const ch
|
|||
_jrt_entry = new ClassPathImageEntry(JImage_file, canonical_path);
|
||||
assert(_jrt_entry != NULL && _jrt_entry->is_modules_image(), "No java runtime image present");
|
||||
assert(_jrt_entry->jimage() != NULL, "No java runtime image");
|
||||
} else {
|
||||
// It's an exploded build.
|
||||
ClassPathEntry* new_entry = create_class_path_entry(current, path, &st, false, false);
|
||||
}
|
||||
} // else it's an exploded build.
|
||||
} else {
|
||||
// If path does not exist, exit
|
||||
vm_exit_during_initialization("Unable to establish the boot loader search path", path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue