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

consider using JNF_COCOA_ENTER/JNF_COCOA_EXIT in MacOSXWindowSystemInterface.m

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u6
    • javafx
    • None

      note that the method in MacOSXWindowSystemInterface.m are using auto release pools but those are not protected by try/finally block

      consider using JNF_COCOA_ENTER/JNF_COCOA_EXIT
      see http://developer.apple.com/library/mac/#documentation/CrossPlatform/Reference/JavaNativeFoundation_Functions/Reference/reference.html

      note that these are usually used in the entry points of JNI calls so that autorelease resources can be used.

            Unassigned Unassigned
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: