Skip to content

Commit 4122589

Browse files
authored
Merge pull request #5554 from JasonFengJ9/jvmiv5
(v0.14.0-release) Set JVM_INTERFACE_VERSION to 5 for JDK12.0.1
2 parents bad1d4d + 33cf025 commit 4122589

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

runtime/j9vm/jvm.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5348,7 +5348,11 @@ JVM_GetInterfaceVersion(void)
53485348

53495349
Trc_SC_GetInterfaceVersion_Entry();
53505350
if (J2SE_CURRENT_VERSION >= J2SE_V11) {
5351-
result = 6;
5351+
if (J2SE_CURRENT_VERSION == J2SE_V12) {
5352+
result = 5; /* JDK12 hasn't got same update as JDK11 & HEAD */
5353+
} else {
5354+
result = 6; /* JDK11 & HEAD */
5355+
}
53525356
}
53535357
Trc_SC_GetInterfaceVersion_Exit(result);
53545358

0 commit comments

Comments
 (0)