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

Remove dependencies on JNF's JNI utility functions in AWT and 2D code

    XMLWordPrintable

Details

    • b03

    Backports

      Description

        We can address uses of JNF_CTOR_CACHE, JNF_CLASS_CACHE and JNF_MEMBER_CACHE, JNF_STATIC_MEMBER_CACHE
        and associated JNFNewObject and JNFCall* methods to directly use JNI.

        Elsewhere in the desktop module this kind of thing is often done
        in a static method called by class initialisation.
        To reduce the size of source code changes and make reviews easier
        we can define a small set of macros which achive the same benefit of
        the *CACHE macros - ie avoiding repeated JNI lookups.

        Attachments

          Issue Links

            Activity

              People

                prr Philip Race
                prr Philip Race
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: