Loading... (original) (raw)
The test:
runtime/XCheckJniJsig/XCheckJSig.java
still expects to find libraries in the lib/ directory on Linux/Solaris:
} else {
env_var = "LD_PRELOAD";
libjsig = jdk_path + "/jre/lib/" + os_arch + "/libjsig.so"; // jdk location
if (!(new File(libjsig).exists())) {
libjsig = jdk_path + "/lib/" + os_arch + "/libjsig.so"; // jre location
}
}
but the arch directory was removed from the JRE a long time ago.
The test doesn't fail because it "skips" when the library can't be found:
TEST: runtime/XCheckJniJsig/XCheckJSig.java
build: 2.09 seconds
compile: 2.09 seconds
main: 0.772 seconds
TEST RESULT: Passed. Skipped: jtreg.SkippedException: File /export/users/dh198349/jdk-dev3/open/test/hotspot/jtreg/../../../../build/linux-x64-debug/images/jdk/lib/amd64/libjsig.so not found
--------------------------------------------------