RFR 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
Harold David Seigel
harold.seigel at oracle.com
Thu Oct 4 20:38:59 UTC 2018
Hi,
Please review this fix for JDK-8211438 (and probably JDK-8211084
<https://bugs.openjdk.java.net/browse/JDK-8211084>). The fix changes the
test to not use the os_arch string when constructing the path of
libjsig.so. It also causes the test to fail if libjsig.so is not found.
The fix also adds JNIEXPORT to the functions in
src/java.base/unix/native/libjsig/jsig.c that the JVM tries to access by
calling dlsym().
Open Webrev: http://cr.openjdk.java.net/~hseigel/bug_8211438/webrev/
JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8211438
The fix was tested by running the XCheckJSig.java test on Linux, Mac,
and Solaris. The fix was regression tested by running Mach5 tiers 1 and
2 tests and builds on Linux-x64, Windows, and Mac OS X, running tiers
3-5 tests on Linux-x64, and by running JCK-12 Lang and VM tests on
Linux-x64.
Thanks, Harold
More information about the hotspot-runtime-dev
mailing list