Skip to content

Commit ac1748e

Browse files
author
Ningsheng Jian
committed
8254670: SVE test uses linux-specific api
Reviewed-by: adinn, vkempik
1 parent 0e92053 commit ac1748e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/hotspot/jtreg/compiler/c2/aarch64/TestSVEWithJNI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/**
2727
* @test
2828
*
29-
* @requires os.arch == "aarch64" & vm.compiler2.enabled
29+
* @requires os.arch == "aarch64" & vm.compiler2.enabled & os.family == "linux"
3030
* @summary Verify VM SVE checking behavior
3131
* @library /test/lib
3232
* @run main/othervm/native compiler.c2.aarch64.TestSVEWithJNI

test/hotspot/jtreg/compiler/c2/aarch64/libTestSVEWithJNI.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
*/
2525

26-
#ifdef __aarch64__
26+
#if defined(__aarch64__) && defined (__linux__)
2727

2828
#include <jni.h>
2929
#include <pthread.h>

0 commit comments

Comments
 (0)