RFR: 7134701 [macosx] Support legacy native library names (original) (raw)

David Holmes david.holmes at oracle.com
Wed Mar 28 02:06:41 UTC 2012


The change to look for the alternate library name looks good to me. I'm happy to see this handled in this way.

I can't comment on whether there are any other cases where the alternate name should be considered.

David

On 28/03/2012 12:05 AM, Michael McMahon wrote:

JDK 8 fix for this issue. For readers not familiar with Mac OS, this is to fix an issue which Apple's JDK 6 supports, but we broke in the jdk 7 initial port. The preferred native library file suffix is .dylib on Mac, but some legacy libraries use the suffix .jnilib. Currently openjdk on mac does not recognise the .jnilib suffix.

This change is to restore that behavior http://cr.openjdk.java.net/~michaelm/7134701/webrev.1/ If this change is accepted, we will look for approval to make the same change in 7u4. Thanks, Michael.



More information about the core-libs-dev mailing list