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

[macosx] Support legacy native library names

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic, unknown
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michaelm Michael McMahon
                  Reporter:
                  michaelm Michael McMahon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: