Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8273487: Zero: Handle "zero" variant in runtime tests
Backport-of: 8c16f485b341ee3071c91df39dfb9ba8b9caa44d
  • Loading branch information
shipilev committed Oct 5, 2021
1 parent 328358a commit 09370c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/lib/jdk/test/lib/Platform.java
Expand Up @@ -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");
}
Expand Down

1 comment on commit 09370c3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.