Skip to content
Permalink
Browse files
8273487: Zero: Handle "zero" variant in runtime tests
Reviewed-by: alanb, dholmes
  • Loading branch information
shipilev committed Sep 9, 2021
1 parent dc33bd8 commit 8c16f485b341ee3071c91df39dfb9ba8b9caa44d
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/lib/jdk/test/lib/Platform.java
@@ -364,6 +364,11 @@ private static String variant() {
return "client";
} else if (Platform.isMinimal()) {
return "minimal";
} else if (Platform.isZero()) {
// This name is used to search for libjvm.so. Weirdly, current
// build system puts libjvm.so into default location, which is
// "server". See JDK-8273494.
return "server";
} else {
throw new Error("TESTBUG: unsupported vm variant");
}

1 comment on commit 8c16f48

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 8c16f48 Sep 9, 2021

Please sign in to comment.