Skip to content

Commit

Permalink
Move jdk_internal_platform to defaultBuiltInPkgNatives.
Browse files Browse the repository at this point in the history
(cherry picked from commit ec0dd7f)
  • Loading branch information
fniephaus authored and jerboaa committed Jul 15, 2024
1 parent 4155334 commit 1c2d729
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public abstract class PlatformNativeLibrarySupport {
"jdk_internal_jimage",
"jdk_internal_misc",
"jdk_internal_org",
"jdk_internal_platform",
"jdk_internal_util",
"jdk_internal_vm",
"jdk_net",
Expand Down Expand Up @@ -98,12 +99,6 @@ protected PlatformNativeLibrarySupport() {
builtInPkgNatives = new ArrayList<>();
if (Platform.includedIn(InternalPlatform.PLATFORM_JNI.class)) {
builtInPkgNatives.addAll(Arrays.asList(defaultBuiltInPkgNatives));
/*
* Support builtin methods for Containers and Metrics internal API which is Linux only
*/
if (Platform.includedIn(Platform.LINUX.class)) {
builtInPkgNatives.add("jdk_internal_platform");
}
}
}

Expand Down

0 comments on commit 1c2d729

Please sign in to comment.