changeset 53900:e07bd8ecab45

8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError Summary: Fixed the name of native method to reflect correct package Reviewed-by: mgronlun
author mseledtsov
date Wed, 05 Dec 2018 17:50:14 -0800
parents ba5da1d57f84
children e78890a4c25f
files test/jdk/ProblemList.txt test/jdk/jdk/jfr/event/sampling/libTestNative.c
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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