Skip to content

RAM Class Persistence: restore the application class loader #22241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

lzhou2025
Copy link
Contributor

The MACRO J9VM_OPT_SNAPSHOTS is mispelled and the application class loader is overwritten.

Fixes: #22237

@lzhou2025 lzhou2025 marked this pull request as draft July 16, 2025 20:32
@@ -465,7 +465,7 @@ internalInitializeJavaLangClassLoader(JNIEnv * env)

vmFuncs->internalEnterVMFromJNI(vmThread);

#if defined(J9VM_OPT_SNAPSHOT)
#if defined(J9VM_OPT_SNAPSHOTS)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to fix the /* defined(J9VM_OPT_SNAPSHOT) */ below as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

The MACRO J9VM_OPT_SNAPSHOTS is mispelled and the application class loader
is overwritten.

Fixes: eclipse-openj9#22237
@lzhou2025 lzhou2025 marked this pull request as ready for review July 18, 2025 14:13
@tajila tajila merged commit 4e833a5 into eclipse-openj9:master Jul 18, 2025
2 checks passed
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: the application class loader is overwritten
2 participants