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

[MacOS] Deprecated Cocoa-NSEvent names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • client-libs
    • b19
    • generic
    • os_x

      There are a few deprecated Cocoa NSEvent constants currently in use in JDK.
      https://github.com/openjdk/jdk/blob/jdk-21+17/src/java.desktop/macosx/classes/sun/lwawt/macosx/CocoaConstants.java
      https://developer.apple.com/documentation/appkit/nsmousemoved

      No build warnings or issues seen so far. Probably deprecated warnings suppressed by use of "-mmacosx-version-min=" set in open/make/autoconf/flags.m4.
      Currently it is set to 10.12 for x64 and 11.0.0 for aarch64.

            honkar Harshitha Onkar
            honkar Harshitha Onkar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: