8254670: SVE test uses linux-specific api

Reviewed-by: adinn, vkempik
This commit is contained in:
Ningsheng Jian 2020-10-23 10:06:40 +00:00
parent 0e9205315e
commit ac1748e786
2 changed files with 2 additions and 2 deletions
test/hotspot/jtreg/compiler/c2/aarch64

@ -26,7 +26,7 @@
/**
* @test
*
* @requires os.arch == "aarch64" & vm.compiler2.enabled
* @requires os.arch == "aarch64" & vm.compiler2.enabled & os.family == "linux"
* @summary Verify VM SVE checking behavior
* @library /test/lib
* @run main/othervm/native compiler.c2.aarch64.TestSVEWithJNI

@ -23,7 +23,7 @@
*
*/
#ifdef __aarch64__
#if defined(__aarch64__) && defined (__linux__)
#include <jni.h>
#include <pthread.h>