JDK-7157665 : Use ClassLoaderHelper for all native library loads [macosx]
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: unknown
  • Submitted: 2012-03-29
  • Updated: 2018-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The fix for 7134701 needs to be updated to make the same change for the other code paths where
native libraries are loaded: namely
- where non-bootstrap classloaders are used and
- where System.load() is called

In both those cases an absolute pathname is provided, but (on Mac) we should attempt to load the
original file first and on Mac, for compatibility with Apple's jdk 6, we should look for a .jnilib
variant if the original name was *.dylib, and it wasn't found.

Comments
EVALUATION use the fix for 7u4.
29-03-2012