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

Use ClassLoaderHelper for all native library loads [macosx]

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      unknown
    • OS:
      os_x

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bchristi Brent Christian
                Reporter:
                michaelm Michael McMahon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: