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

[macOS]: Remove JNF dependency from libosxsecurity/KeystoreImpl.m

XMLWordPrintable

        https://bugs.openjdk.java.net/browse/JDK-8257852 discusses removing
        JNF dependencies from the desktop module.

        It would be good to also remove the dependency from other areas

        There are 3 kinds of uses of JNF here
        1) JNF_COCOA_ENTER / JNF_COCOA_EXIT - exception handling and object pool handling
        2) JNFJavaToNSString - string conversion utility
        3) JNF_CLASS_CACHE/JNF_MEMBER_CACHE/JNFCallVoidMethod - JNI utils

        once we've established a pattern in the desktop module then this code could just re-use that - but given it is only one usage in java.base it is very likely better to do it directly rather than create a shared dependency.

              weijun Weijun Wang
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: