Skip to content

Commit

Permalink
8259451: Zero: skip serviceability/sa tests, set vm.hasSA to false
Browse files Browse the repository at this point in the history
Reviewed-by: sgehwolf, cjplummer
  • Loading branch information
shipilev committed Jan 11, 2021
1 parent bb247b0 commit 3974fd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/lib/jdk/test/lib/Platform.java
Expand Up @@ -226,6 +226,9 @@ public static boolean isRoot() {
* on this platform.
*/
public static boolean hasSA() {
if (isZero()) {
return false; // SA is not enabled.
}
if (isAix()) {
return false; // SA not implemented.
} else if (isLinux()) {
Expand Down

1 comment on commit 3974fd4

@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.