RFR(XS): 8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError
Markus Gronlund
markus.gronlund at oracle.com
Wed Dec 5 23:48:31 UTC 2018
Hi Misha,
Looks good, thanks for fixing.
Markus
-----Original Message-----
From: Mikhailo Seledtsov
Sent: den 5 december 2018 23:22
To: hotspot-jfr-dev at openjdk.java.net
Subject: RFR(XS): 8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError
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