-
Enhancement
-
Resolution: Fixed
-
P3
-
18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313412 | 17.0.10-oracle | Johny Jose | P3 | Resolved | Fixed | b03 |
JDK-8295866 | 17.0.6 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
When trying to load a x64 lib on macOS aarch64 one got previously this detailed message before JDK-8275703:
java.lang.UnsatisfiedLinkError: /testing/jco3/macOsx64/libsapjco3.dylib: dlopen(/testing/jco3/macOsx64/libsapjco3.dylib, 1): no suitable image found. Did find:
/testing/jco3/macOsx64/libsapjco3.dylib: mach-o, but wrong architecture
/testing/jco3/macOsx64/libsapjco3.dylib: mach-o, but wrong architecture [in thread "main"]
AfterJDK-8275703, the error message does not include the details:
java.lang.UnsatisfiedLinkError: Can't load library: /testing/jco3/macOsx64/libsapjco3.dylib [in thread "main"]
The error details are useful to help diagnosing user's error like mismatched target architecture.
java.lang.UnsatisfiedLinkError: /testing/jco3/macOsx64/libsapjco3.dylib: dlopen(/testing/jco3/macOsx64/libsapjco3.dylib, 1): no suitable image found. Did find:
/testing/jco3/macOsx64/libsapjco3.dylib: mach-o, but wrong architecture
/testing/jco3/macOsx64/libsapjco3.dylib: mach-o, but wrong architecture [in thread "main"]
After
java.lang.UnsatisfiedLinkError: Can't load library: /testing/jco3/macOsx64/libsapjco3.dylib [in thread "main"]
The error details are useful to help diagnosing user's error like mismatched target architecture.
- backported by
-
JDK-8295866 Improve UnsatisfiedLinkError error message to include dlopen error details
- Resolved
-
JDK-8313412 Improve UnsatisfiedLinkError error message to include dlopen error details
- Resolved
- relates to
-
JDK-8275703 System.loadLibrary fails on Big Sur for libraries hidden from filesystem
- Closed
- links to
-
Commit openjdk/jdk17u-dev/491d8002
-
Commit openjdk/jdk/da4fdfbb
-
Review openjdk/jdk17u-dev/812
-
Review openjdk/jdk/10286
(2 links to)