Skip to content

Conversation

@lzhou2025
Copy link
Member

@lzhou2025 lzhou2025 commented Nov 26, 2025

When loading frozen classes from RCP cache, the initial class loader passed to the frozen class loading functions is used to initialize all classes objects referenced during the recusively loading process. It may result in unexpected class loader assigned, causing the access validation failures. The proposed changes are to use the cached class loader of the frozen class to initialize its class object.

Fixes: #22844

When loading frozen classes from RCP cache, the initial class
loader passed to the frozen class loading functions is used
to initialize all classes objects referenced during the
recusively loading process. It may result in unexpected class
loader assigned, causing the access validation failures. The
proposed changes are to use the cached class loader of the
frozen class to initialize its class object.

Fixes: eclipse-openj9#22844
@lzhou2025 lzhou2025 marked this pull request as ready for review November 28, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RCP: Liberty server/JDK17+ failed to startup in restore

1 participant