Skip to content

Commit 3974fd4

Browse files
committedJan 11, 2021
8259451: Zero: skip serviceability/sa tests, set vm.hasSA to false
Reviewed-by: sgehwolf, cjplummer
1 parent bb247b0 commit 3974fd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎test/lib/jdk/test/lib/Platform.java

+3
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ public static boolean isRoot() {
226226
* on this platform.
227227
*/
228228
public static boolean hasSA() {
229+
if (isZero()) {
230+
return false; // SA is not enabled.
231+
}
229232
if (isAix()) {
230233
return false; // SA not implemented.
231234
} else if (isLinux()) {

0 commit comments

Comments
 (0)
Please sign in to comment.