Skip to content

Commit

Permalink
Merge pull request #15828 from pshipton/spec.maint.ver
Browse files Browse the repository at this point in the history
Add java.specification.maintenance.version=4 jdk8 system property
  • Loading branch information
babsingh committed Sep 6, 2022
2 parents ab6952a + e3293ba commit f9f0272
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion runtime/vm/vmprops.c
Original file line number Diff line number Diff line change
@@ -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 f9f0272

Please sign in to comment.