Skip to content

Commit

Permalink
Merge pull request #15835 from pshipton/spec.maint.ver-0.35
Browse files Browse the repository at this point in the history
(0.35) Add java.specification.maintenance.version=4 jdk8 system property
  • Loading branch information
babsingh committed Sep 7, 2022
2 parents 420682e + 1c2fd38 commit 1de4f14
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion runtime/vm/vmprops.c
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 1991, 2021 IBM Corp. and others
* Copyright (c) 1991, 2022 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -628,6 +628,13 @@ initializeSystemProperties(J9JavaVM * vm)
}
#endif /* JAVA_SPEC_VERSION < 12 */

#if JAVA_SPEC_VERSION == 8
rc = addSystemProperty(vm, "java.specification.maintenance.version", "4", 0);
if (J9SYSPROP_ERROR_NONE != rc) {
goto fail;
}
#endif /* JAVA_SPEC_VERSION == 8 */

rc = addSystemProperty(vm, "java.vm.vendor", JAVA_VM_VENDOR, 0);
if (J9SYSPROP_ERROR_NONE != rc) {
goto fail;
Expand Down

0 comments on commit 1de4f14

Please sign in to comment.