From 0b3e31747c984f170c11749e174eaf240fbad6cb Mon Sep 17 00:00:00 2001 From: lmesnik Date: Fri, 12 Mar 2021 11:25:08 -0800 Subject: [PATCH] Negative tests moved in separate folder --- .../GetAllThreadsNullTest/GetAllThreadsNullTest.java | 0 .../GetAllThreadsNullTest/libGetAllThreadsNullTest.cpp | 0 .../GetFrameCount => negative}/framecnt02/framecnt02.java | 0 .../GetFrameCount => negative}/framecnt02/libframecnt02.cpp | 0 .../GetFrameCount => negative}/framecnt03/framecnt03.java | 0 .../GetFrameCount => negative}/framecnt03/libframecnt03.cpp | 0 .../GetFrameLocation => negative}/frameloc03/frameloc03.java | 0 .../GetFrameLocation => negative}/frameloc03/libframeloc03.cpp | 0 .../GetStackTrace => negative}/getstacktr02/getstacktr02.java | 0 .../GetStackTrace => negative}/getstacktr02/libgetstacktr02.cpp | 0 .../GetStackTrace => negative}/getstacktr09/getstacktr09.java | 2 +- .../GetStackTrace => negative}/getstacktr09/libgetstacktr09.cpp | 0 .../GetThreadInfo => negative}/thrinfo02/libthrinfo02.cpp | 0 .../{thread/GetThreadInfo => negative}/thrinfo02/thrinfo02.java | 0 .../GetThreadState => negative}/thrstat04/libthrstat04.cpp | 0 .../GetThreadState => negative}/thrstat04/thrstat04.java | 0 16 files changed, 1 insertion(+), 1 deletion(-) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetAllThreads => negative}/GetAllThreadsNullTest/GetAllThreadsNullTest.java (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetAllThreads => negative}/GetAllThreadsNullTest/libGetAllThreadsNullTest.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetFrameCount => negative}/framecnt02/framecnt02.java (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetFrameCount => negative}/framecnt02/libframecnt02.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetFrameCount => negative}/framecnt03/framecnt03.java (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetFrameCount => negative}/framecnt03/libframecnt03.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetFrameLocation => negative}/frameloc03/frameloc03.java (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetFrameLocation => negative}/frameloc03/libframeloc03.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetStackTrace => negative}/getstacktr02/getstacktr02.java (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetStackTrace => negative}/getstacktr02/libgetstacktr02.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetStackTrace => negative}/getstacktr09/getstacktr09.java (99%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetStackTrace => negative}/getstacktr09/libgetstacktr09.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetThreadInfo => negative}/thrinfo02/libthrinfo02.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetThreadInfo => negative}/thrinfo02/thrinfo02.java (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetThreadState => negative}/thrstat04/libthrstat04.cpp (100%) rename test/hotspot/jtreg/serviceability/jvmti/{thread/GetThreadState => negative}/thrstat04/thrstat04.java (100%) diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetAllThreads/GetAllThreadsNullTest/GetAllThreadsNullTest.java b/test/hotspot/jtreg/serviceability/jvmti/negative/GetAllThreadsNullTest/GetAllThreadsNullTest.java similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetAllThreads/GetAllThreadsNullTest/GetAllThreadsNullTest.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/GetAllThreadsNullTest/GetAllThreadsNullTest.java diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetAllThreads/GetAllThreadsNullTest/libGetAllThreadsNullTest.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/GetAllThreadsNullTest/libGetAllThreadsNullTest.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetAllThreads/GetAllThreadsNullTest/libGetAllThreadsNullTest.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/GetAllThreadsNullTest/libGetAllThreadsNullTest.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt02/framecnt02.java b/test/hotspot/jtreg/serviceability/jvmti/negative/framecnt02/framecnt02.java similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt02/framecnt02.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/framecnt02/framecnt02.java diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt02/libframecnt02.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/framecnt02/libframecnt02.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt02/libframecnt02.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/framecnt02/libframecnt02.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt03/framecnt03.java b/test/hotspot/jtreg/serviceability/jvmti/negative/framecnt03/framecnt03.java similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt03/framecnt03.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/framecnt03/framecnt03.java diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt03/libframecnt03.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/framecnt03/libframecnt03.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt03/libframecnt03.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/framecnt03/libframecnt03.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameLocation/frameloc03/frameloc03.java b/test/hotspot/jtreg/serviceability/jvmti/negative/frameloc03/frameloc03.java similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameLocation/frameloc03/frameloc03.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/frameloc03/frameloc03.java diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameLocation/frameloc03/libframeloc03.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/frameloc03/libframeloc03.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameLocation/frameloc03/libframeloc03.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/frameloc03/libframeloc03.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr02/getstacktr02.java b/test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr02/getstacktr02.java similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr02/getstacktr02.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr02/getstacktr02.java diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr02/libgetstacktr02.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr02/libgetstacktr02.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr02/libgetstacktr02.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr02/libgetstacktr02.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr09/getstacktr09.java b/test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr09/getstacktr09.java similarity index 99% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr09/getstacktr09.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr09/getstacktr09.java index 79dabb46896..bb38e65afee 100644 --- a/test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr09/getstacktr09.java +++ b/test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr09/getstacktr09.java @@ -36,7 +36,7 @@ * - chack thread against specific error code JVMTI_ERROR_THREAD_NOT_ALIVE * instead of general JVMTI_ERROR_INVALID_THREAD * - * @library //test/lib + * @library /test/lib * @run main/othervm/native -agentlib:getstacktr09 getstacktr09 */ diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr09/libgetstacktr09.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr09/libgetstacktr09.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr09/libgetstacktr09.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/getstacktr09/libgetstacktr09.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadInfo/thrinfo02/libthrinfo02.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/thrinfo02/libthrinfo02.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadInfo/thrinfo02/libthrinfo02.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/thrinfo02/libthrinfo02.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadInfo/thrinfo02/thrinfo02.java b/test/hotspot/jtreg/serviceability/jvmti/negative/thrinfo02/thrinfo02.java similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadInfo/thrinfo02/thrinfo02.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/thrinfo02/thrinfo02.java diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadState/thrstat04/libthrstat04.cpp b/test/hotspot/jtreg/serviceability/jvmti/negative/thrstat04/libthrstat04.cpp similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadState/thrstat04/libthrstat04.cpp rename to test/hotspot/jtreg/serviceability/jvmti/negative/thrstat04/libthrstat04.cpp diff --git a/test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadState/thrstat04/thrstat04.java b/test/hotspot/jtreg/serviceability/jvmti/negative/thrstat04/thrstat04.java similarity index 100% rename from test/hotspot/jtreg/serviceability/jvmti/thread/GetThreadState/thrstat04/thrstat04.java rename to test/hotspot/jtreg/serviceability/jvmti/negative/thrstat04/thrstat04.java