mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8296433: Encountered null CLD while loading shared lambda proxy class
Reviewed-by: iklam, dholmes
This commit is contained in:
parent
74f2b16a8e
commit
d04d6566b0
2 changed files with 7 additions and 6 deletions
|
@ -387,6 +387,7 @@ void InstanceKlass::set_nest_host(InstanceKlass* host) {
|
|||
_nest_host = host;
|
||||
// Record dependency to keep nest host from being unloaded before this class.
|
||||
ClassLoaderData* this_key = class_loader_data();
|
||||
assert(this_key != NULL, "sanity");
|
||||
this_key->record_dependency(host);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue