mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8263632: Improve exception handling of APIs in classLoader.cpp
Reviewed-by: iklam, dholmes, coleenp
This commit is contained in:
parent
59ed1fa28c
commit
c9d2d024a3
8 changed files with 99 additions and 125 deletions
|
@ -451,7 +451,7 @@ void Modules::define_module(Handle module, jboolean is_open, jstring version,
|
|||
// If the module is defined to the boot loader and an exploded build is being
|
||||
// used, prepend <java.home>/modules/modules_name to the system boot class path.
|
||||
if (h_loader.is_null() && !ClassLoader::has_jrt_entry()) {
|
||||
ClassLoader::add_to_exploded_build_list(module_symbol, CHECK);
|
||||
ClassLoader::add_to_exploded_build_list(THREAD, module_symbol);
|
||||
}
|
||||
|
||||
#ifdef COMPILER2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue