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

Mikhailo Seledtsov mikhailo.seledtsov at oracle.com
Thu Dec 6 01:32:36 UTC 2018


Thank you,

Misha

On 12/5/18, 3:48 PM, Markus Gronlund wrote:
> 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