RFR 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location (original) (raw)
David Holmes david.holmes at oracle.com
Thu Oct 4 21:13:39 UTC 2018
- Previous message: RFR 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
- Next message: RFR 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Harold,
There's no more jre in the path either so this can be further simplified.
Otherwise all looks good. I hope the JNI_EXPORT fixes the Mac OS issue.
Thanks, David
On 5/10/2018 6:38 AM, Harold David Seigel wrote:
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 osarch 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/bug8211438/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
- Previous message: RFR 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
- Next message: RFR 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]