-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b80
-
x86
-
windows_vista
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2136684 | 5.0u10 | Ivan Krylov | P4 | Closed | Fixed | b01 |
JDK-2171636 | 1.4.2_20 | Abhijit Saha | P4 | Closed | Fixed | b01 |
JDK-2158726 | 1.4.2_19-rev | Karunakar Gajjala | P4 | Closed | Fixed | b05 |
VM from windows-amd64 binaries throws the UnsatisfiedLinkError with the following error message if one tries to load 32 bit dll via loadLibrary:
java.lang.UnsatisfiedLinkError: PATH_TO_DLL: %1 is not a valid Win32 application
Please note that according to error message jckjni.dll "is not a valid Win32 application". But given dll was correct 32 bit dll. This error message is incorrect and may mislead users.
How to reproduce:
1. Unpack attached archive.zip
2. Correct TESTSUITE (/net/jre.sfbay/p/v10/jck/6.0/beta/b15a/binaries/JCK-runtime-60 in SWAN) and PRODUCT in runme.sh
3. Run runme.sh
Sample output (obtained on Windows Vista on amd64):
Z:/Links/stt/jck_workspace/mustang/b67/jck/WinVista/32
Library loading:
loadLibrary("invokeinterface00201m1") throws: java.lang.UnsatisfiedLinkError: no invokeinterface00201m1 in java.library.path
loadLibrary("jckjni") throws: java.lang.UnsatisfiedLinkError: Z:\Links\stt\jck_workspace\mustang\b67\jck\WinVista\32\jckjni.dll: %1 is not a valid Win32 application
Z:/Links/stt/jck_workspace/mustang/b67/jck/WinVista/64
- backported by
-
JDK-2136684 Misleading error message if 32bit dll used together with 64 bit VM
- Closed
-
JDK-2158726 Misleading error message if 32bit dll used together with 64 bit VM
- Closed
-
JDK-2171636 Misleading error message if 32bit dll used together with 64 bit VM
- Closed
- relates to
-
JDK-6733295 Build failed on Linux-i586 and Solaris-sparc,sparcv9,i586 for JDK 1.4.2_xx vista support fixes
- Resolved
-
JDK-6420191 assertion failure from fix for 6374419
- Closed
-
JDK-6515362 fix for 6374419 suppresses real error message from the linker
- Closed
-
JDK-2146252 fix for 6374419 suppresses real error message from the linker
- Closed