Skip to content

Commit ec41046

Browse files
committed
8254348: Build fails when cds is disabled after JDK-8247536
Reviewed-by: dcubed
1 parent e4469d2 commit ec41046

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hotspot/share/prims/jvm.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3869,7 +3869,11 @@ JVM_END
38693869

38703870
JVM_ENTRY(jboolean, JVM_IsDumpingClassList(JNIEnv *env))
38713871
JVMWrapper("JVM_IsDumpingClassList");
3872+
#if INCLUDE_CDS
38723873
return DumpLoadedClassList != NULL && classlist_file != NULL && classlist_file->is_open();
3874+
#else
3875+
return false;
3876+
#endif // INCLUDE_CDS
38733877
JVM_END
38743878

38753879
JVM_ENTRY(void, JVM_LogLambdaFormInvoker(JNIEnv *env, jstring line))

0 commit comments

Comments
 (0)