RFR(XS): 8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError

Mikhailo Seledtsov mikhailo.seledtsov at oracle.com
Wed Dec 5 22:21:42 UTC 2018


Please review this one-liner fix, renaming the native method to reflect 
the new package path:

========== Diff:
         --- a/test/jdk/jdk/jfr/event/sampling/libTestNative.c
         +++ b/test/jdk/jdk/jfr/event/sampling/libTestNative.c
         @@ -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

========= Testing
Locally (Linux-x64): ran the affected test
    - via 'jtreg -nativepath: " commands - PASS
    - via "make test": PASS
Lab:
   - ran automatically on multiple platforms - PASS


Thank you,
Misha


More information about the hotspot-jfr-dev mailing list