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

Harshitha Onkar honkar at openjdk.org
Thu Apr 13 15:31:15 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.

This pull request has now been integrated.

Changeset: d7dc474a
Author:    Harshitha Onkar <honkar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d7dc474a5aa29da7f6a0d9c0fd872243c4d82e3c
Stats:     116 lines in 13 files changed: 10 ins; 0 del; 106 mod

8305712: [MacOS] Deprecated Cocoa-NSEvent names

Reviewed-by: dmarkov, prr

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

PR: https://git.openjdk.org/jdk/pull/13435



More information about the client-libs-dev mailing list