8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError
authormseledtsov
Wed, 05 Dec 2018 17:50:14 -0800
changeset 52863 e07bd8ecab45
parent 52862 ba5da1d57f84
child 52864 e78890a4c25f
8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError Summary: Fixed the name of native method to reflect correct package Reviewed-by: mgronlun
test/jdk/ProblemList.txt
test/jdk/jdk/jfr/event/sampling/libTestNative.c
--- a/test/jdk/ProblemList.txt	Thu Dec 06 00:44:13 2018 +0100
+++ b/test/jdk/ProblemList.txt	Wed Dec 05 17:50:14 2018 -0800
@@ -883,4 +883,3 @@
 # jdk_jfr
 
 jdk/jfr/event/io/TestInstrumentation.java                       8202142    generic-all
-jdk/jfr/event/sampling/TestNative.java                          8202142    generic-all
--- a/test/jdk/jdk/jfr/event/sampling/libTestNative.c	Thu Dec 06 00:44:13 2018 +0100
+++ b/test/jdk/jdk/jfr/event/sampling/libTestNative.c	Wed Dec 05 17:50:14 2018 -0800
@@ -30,7 +30,7 @@
 #include <unistd.h>
 #endif
 
-JNIEXPORT void JNICALL Java_com_oracle_jfr_event_sampling_TestNative_longTime
+JNIEXPORT void JNICALL Java_jdk_jfr_event_sampling_TestNative_longTime
   (JNIEnv *env, jclass jc)
 {
 #ifdef WINDOWS