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

[macosx] Refactor native menu code

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None

      Description

      The native menu code has a strange pattern for creation using a mutable array to pass parameters and return results. This should be replaced with or normal pattern that uses blocks.
      Also the CFRetain/release pattern should be removed s it is not needed any more. Also handling of the JNI global refs should be checked. It does not seem like they are ever deleted.

        Attachments

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              pchelko Petr Pchelko (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: