We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24fce8e + bd94d4a commit 4e833a5Copy full SHA for 4e833a5
runtime/jcl/common/stdinit.c
@@ -465,12 +465,12 @@ internalInitializeJavaLangClassLoader(JNIEnv * env)
465
466
vmFuncs->internalEnterVMFromJNI(vmThread);
467
468
-#if defined(J9VM_OPT_SNAPSHOT)
+#if defined(J9VM_OPT_SNAPSHOTS)
469
/* Always use the persisted applicationClassLoader in restore runs. */
470
if (IS_RESTORE_RUN(vm)) {
471
vmFuncs->initializeSnapshotClassLoaderObject(vm, vm->applicationClassLoader, J9_JNI_UNWRAP_REFERENCE(appClassLoader));
472
} else
473
-#endif /* defined(J9VM_OPT_SNAPSHOT) */
+#endif /* defined(J9VM_OPT_SNAPSHOTS) */
474
{
475
vm->applicationClassLoader = J9VMJAVALANGCLASSLOADER_VMREF(vmThread, J9_JNI_UNWRAP_REFERENCE(appClassLoader));
476
0 commit comments