Skip to content

Commit 92e772e

Browse files
christianhaeublzakkak
authored andcommitted
Fix java.specification.maintenance.version.
(cherry picked from commit 14ed014)
1 parent fbdfa07 commit 92e772e

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/SystemPropertiesSupport.java

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ public abstract class SystemPropertiesSupport implements RuntimeSystemProperties
5656
private static final String[] HOSTED_PROPERTIES = {
5757
"java.version",
5858
"java.version.date",
59+
"java.class.version",
60+
"java.runtime.version",
61+
"java.specification.name",
62+
"java.specification.vendor",
63+
"java.specification.version",
64+
"java.specification.maintenance.version",
65+
"java.vm.specification.name",
66+
"java.vm.specification.vendor",
67+
"java.vm.specification.version",
5968
ImageInfo.PROPERTY_IMAGE_KIND_KEY,
6069
/*
6170
* We do not support cross-compilation for now. Separator might also be cached
@@ -64,14 +73,6 @@ public abstract class SystemPropertiesSupport implements RuntimeSystemProperties
6473
"line.separator", "path.separator", "file.separator",
6574
/* For our convenience for now. */
6675
"file.encoding", "sun.jnu.encoding", "native.encoding", "stdout.encoding", "stderr.encoding",
67-
"java.class.version",
68-
"java.runtime.version",
69-
"java.specification.name",
70-
"java.specification.vendor",
71-
"java.specification.version",
72-
"java.vm.specification.name",
73-
"java.vm.specification.vendor",
74-
"java.vm.specification.version"
7576
};
7677

7778
/** System properties that are lazily computed at run time on first access. */

0 commit comments

Comments
 (0)