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

[macos11] system dynamic libraries removed from filesystem

XMLWordPrintable

    • b07
    • os_x
    • Not verified

      ADDITIONAL SYSTEM INFORMATION :
      MacOSX

      A DESCRIPTION OF THE PROBLEM :
      The usage of PCSC does not work on MacOS X Big Sur anymore.
      We assume the problem exists in
      https://github.com/openjdk/jdk15u/blob/master/src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java
      where the library gets loaded.
      In
      https://developer.apple.com/forums/thread/657267?login=true&page=1#627261022
      we were pointed to the release notes stating:

      "New in macOS Big Sur 11 beta, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache."

      This might therefore also affect other parts of jdk.


      FREQUENCY : always


            martin Martin Buchholz
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: