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

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

XMLWordPrintable

    • b03

        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.

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

                Created:
                Updated:
                Resolved: