-
Bug
-
Resolution: Not an Issue
-
P4
-
5.0u4, 6, 7, 8
-
generic, x86
-
generic, linux
During PIT for JDK7 b20 2 HS_REGRESSION tests failed on jtg-amd11.SFBay.Sun.COM (linux-amd64):
closed/runtime/4791798/TestExceptions.sh
closed/runtime/4791798/jnitest.sh
(link to result: http://gtee.sfbay/gtee/results/JDK7/NIGHTLY/VM/2007-09-08/Main_Baseline_JDK7/vm/linux-i586/client/mixed/vm-linux-i586_client_mixed_HS_REGRESSION2007-09-09-02-05-48/analysis.html)
This tests dinamically compile native libraries, but don't take in account case when linux-i586 JDK is tested on linux-amd64, in this case libraries are compiled for wrong architecture and tests fail because of UnsatisfiedLinkError:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /.automount/gtee.sfbay.sun.com/root/export/tmp/sb196040/JTwork/closed/runtime/4791798/TestExceptions/libtestx.so: /.automount/gtee.sfbay.sun.com/root/export/tmp/sb196040/JTwork/closed/runtime/4791798/TestExceptions/libtestx.so: cannot open shared object file: No such file or directory (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1769)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1694)
at java.lang.Runtime.loadLibrary0(Runtime.java:841)
at java.lang.System.loadLibrary(System.java:1067)
at TestExceptions.<clinit>(TestExceptions.java:12)
closed/runtime/4791798/TestExceptions.sh
closed/runtime/4791798/jnitest.sh
(link to result: http://gtee.sfbay/gtee/results/JDK7/NIGHTLY/VM/2007-09-08/Main_Baseline_JDK7/vm/linux-i586/client/mixed/vm-linux-i586_client_mixed_HS_REGRESSION2007-09-09-02-05-48/analysis.html)
This tests dinamically compile native libraries, but don't take in account case when linux-i586 JDK is tested on linux-amd64, in this case libraries are compiled for wrong architecture and tests fail because of UnsatisfiedLinkError:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /.automount/gtee.sfbay.sun.com/root/export/tmp/sb196040/JTwork/closed/runtime/4791798/TestExceptions/libtestx.so: /.automount/gtee.sfbay.sun.com/root/export/tmp/sb196040/JTwork/closed/runtime/4791798/TestExceptions/libtestx.so: cannot open shared object file: No such file or directory (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1769)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1694)
at java.lang.Runtime.loadLibrary0(Runtime.java:841)
at java.lang.System.loadLibrary(System.java:1067)
at TestExceptions.<clinit>(TestExceptions.java:12)