RFR: 8296433: Encountered null CLD while loading shared lambda proxy class

David Holmes dholmes at openjdk.org
Tue Nov 8 05:21:20 UTC 2022


On Tue, 8 Nov 2022 00:18:54 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this simple fix for calling `load_shared_class()`, which initializes `class_loader_data` prior to `set_nest_host()` in `SystemDictionary::load_shared_lambda_proxy_class()`.  Otherwise, a null `class_loader_data` would be encountered in `set_nest_host()`; it would fail the added assertion in `set_nest_host()`.
> 
> Passed tiers 1 and 2 testing on Oracle supported platforms.

Looks good!

Thanks

-------------

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.org/jdk/pull/11031


More information about the hotspot-runtime-dev mailing list