RFR: JDK-8305712: [MacOS] Deprecated Cocoa-NSEvent names

Harshitha Onkar honkar at openjdk.org
Tue Apr 11 20:58:34 UTC 2023


On Tue, 11 Apr 2023 20:28:29 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> 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.

I missed updating the copyright year, will be updating with the rest of the changes in the next commit.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13435#issuecomment-1504077872



More information about the client-libs-dev mailing list