Skip to content

Commit 7a3fb68

Browse files
fniephauszakkak
authored andcommitted
Move jdk_internal_platform to defaultBuiltInPkgNatives.
(cherry picked from commit ec0dd7f)
1 parent b3cdd40 commit 7a3fb68

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

+1-6
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public abstract class PlatformNativeLibrarySupport {
6868
"jdk_internal_jimage",
6969
"jdk_internal_misc",
7070
"jdk_internal_org",
71+
"jdk_internal_platform",
7172
"jdk_internal_util",
7273
"jdk_internal_vm",
7374
"jdk_net",
@@ -98,12 +99,6 @@ protected PlatformNativeLibrarySupport() {
9899
builtInPkgNatives = new ArrayList<>();
99100
if (Platform.includedIn(InternalPlatform.PLATFORM_JNI.class)) {
100101
builtInPkgNatives.addAll(Arrays.asList(defaultBuiltInPkgNatives));
101-
/*
102-
* Support builtin methods for Containers and Metrics internal API which is Linux only
103-
*/
104-
if (Platform.includedIn(Platform.LINUX.class)) {
105-
builtInPkgNatives.add("jdk_internal_platform");
106-
}
107102
}
108103
}
109104

0 commit comments

Comments
 (0)