RFR: JDK-8305712: [MacOS] Deprecated Cocoa-NSEvent names
Harshitha Onkar
honkar at openjdk.org
Tue Apr 11 20:35:28 UTC 2023
There are a few deprecated Cocoa NSEvent names 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
Since these event names are marked for deprecation it is better to switch to the newer names.
-------------
Commit messages:
- prefix added to commented event types
- renamed deprecated Cocoa NSEvents
Changes: https://git.openjdk.org/jdk/pull/13435/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13435&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8305712
Stats: 91 lines in 13 files changed: 0 ins; 0 del; 91 mod
Patch: https://git.openjdk.org/jdk/pull/13435.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13435/head:pull/13435
PR: https://git.openjdk.org/jdk/pull/13435
More information about the client-libs-dev
mailing list