- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    11, 14, 15
- 
        b14
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8246688 | 13.0.4 | Stefan Karlsson | P3 | Resolved | Fixed | b04 | 
| JDK-8241274 | 11.0.8-oracle | Stefan Karlsson | P3 | Resolved | Fixed | b01 | 
| JDK-8241220 | 11.0.8 | Stefan Karlsson | P3 | Resolved | Fixed | b01 | 
                    Because of this most tests fail to start with exploded builds.
CheckUnhandledOops overwrites any oops found on the stack, whenever a safepoint transition might happen.
It even changes the values of NULL oops. This causes the following code to fail:
// 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 (loader == NULL && !ClassLoader::has_jrt_entry()) {
ClassLoader::add_to_exploded_build_list(module_symbol, CHECK);
}
because loader isn't NULL anymore.
CheckUnhandledOops overwrites any oops found on the stack, whenever a safepoint transition might happen.
It even changes the values of NULL oops. This causes the following code to fail:
// 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 (loader == NULL && !ClassLoader::has_jrt_entry()) {
ClassLoader::add_to_exploded_build_list(module_symbol, CHECK);
}
because loader isn't NULL anymore.
- backported by
- 
                    JDK-8241220 CheckUnhandledOops breaks NULL check in Modules::define_module -           
- Resolved
 
-         
- 
                    JDK-8241274 CheckUnhandledOops breaks NULL check in Modules::define_module -           
- Resolved
 
-         
- 
                    JDK-8246688 CheckUnhandledOops breaks NULL check in Modules::define_module -           
- Resolved
 
-