From 34ba70a71ba414a6d8cfc5c667d556d4d6072793 Mon Sep 17 00:00:00 2001 From: Igor Ignatyev Date: Wed, 4 Aug 2021 02:19:01 +0000 Subject: [PATCH] 8269037: jsig/Testjsig.java doesn't have to be restricted to linux only Reviewed-by: mseledtsov, dholmes --- make/test/JtregNativeHotspot.gmk | 4 ++-- test/hotspot/jtreg/runtime/jsig/Testjsig.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/make/test/JtregNativeHotspot.gmk b/make/test/JtregNativeHotspot.gmk index cfddb6fe0d9..58390110251 100644 --- a/make/test/JtregNativeHotspot.gmk +++ b/make/test/JtregNativeHotspot.gmk @@ -863,7 +863,7 @@ ifeq ($(call isTargetOs, linux), true) BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeFPRegs := -ldl BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libAsyncGetCallTraceTest := -ldl else - BUILD_HOTSPOT_JTREG_EXCLUDE += libtest-rw.c libtest-rwx.c libTestJNI.c \ + BUILD_HOTSPOT_JTREG_EXCLUDE += libtest-rw.c libtest-rwx.c \ exeinvoke.c exestack-gap.c exestack-tls.c libAsyncGetCallTraceTest.cpp endif @@ -871,7 +871,7 @@ BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exesigtest := -ljvm ifeq ($(call isTargetOs, windows), true) BUILD_HOTSPOT_JTREG_EXECUTABLES_CFLAGS_exeFPRegs := -MT - BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c + BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit := jvm.lib else BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libbootclssearch_agent += -lpthread diff --git a/test/hotspot/jtreg/runtime/jsig/Testjsig.java b/test/hotspot/jtreg/runtime/jsig/Testjsig.java index 72e537682b8..315ec3d1500 100644 --- a/test/hotspot/jtreg/runtime/jsig/Testjsig.java +++ b/test/hotspot/jtreg/runtime/jsig/Testjsig.java @@ -29,7 +29,7 @@ * @bug 8022301 * @bug 8025519 * @summary sigaction(sig) results in process hang/timed-out if sig is much greater than SIGRTMAX - * @requires (os.family == "linux") + * @requires os.family != "windows" * @library /test/lib * @compile TestJNI.java * @run driver Testjsig