8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError
Summary: Fixed the name of native method to reflect correct package
Reviewed-by: mgronlun
--- 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