JDK-7134690 : remove legacy jnilib support from ClassLoader and System [macosx]
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: unknown
  • Submitted: 2012-01-27
  • Updated: 2012-09-24
  • Resolved: 2012-04-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.
7u4 b11Fixed
Related Reports
Relates :  
The initial port of jdk7u to macos included some code in 

src/share/classes/java/lang/System.java and

which adds support for non-standard native library suffixes on Mac OS. The standard name format is libname.dylib
on macos, but Apple's java supports libname.jnilib as well.

We would like to remove this code, because if such support is really required then it shouldn't be
iplemented in shared code. We will track the requirement to support these legacy names in another CR if necessary.

EVALUATION This has been removed for now via this change-set: http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jdk/rev/7929ac999cde Once the Mac port is in 7u4 then a cleaner approach to support .jnilib needs to be examined.