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

Calvin Cheung ccheung at openjdk.org
Tue Nov 8 21:58:30 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.

Thanks Ioi and David.

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

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


More information about the hotspot-runtime-dev mailing list