Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7134701

[macosx] Support legacy native library names

XMLWordPrintable

    • b20
    • generic, unknown
    • os_x
    • Verified

        As part of 7134690 we are removing some ugly mac specific code from jdk:src/share/classes/java/lang/{System,ClassLoader}.java which searches for alternative (legacy) native
        library names on the Mac.

        If someone wants to load "libfoo" then the default on the mac is to look for libfoo.dylib. The legacy
        behavior meant we would also search for libfoo.jnilib if the other variant didn't exist.

        Apple are pushing towards standardizing on .dylib anyway and we can live without this functionality in the short-term. But, it might be needed for legacy support and it looks like the best place for it might
        be in the BSD os::dll_build_name() function.

        Apparently, Minecraft on Mac might be affected by this. But since it uses the plugin we wouldn't be
        supporting it anyway in the first release. But, we might need to support it some time in the future.

              michaelm Michael McMahon
              michaelm Michael McMahon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: