RFR: 8281555: [macos] Get rid of deprecated Style Masks constants

Dmitry Markov dmarkov at openjdk.java.net
Wed Feb 9 17:57:32 UTC 2022


The Style Masks constants [1], which are utilised by AWT, were deprecated starting from macOS 10.12 Sierra. It is high time to replace them with new constants introduced by NSWindowStyleMask enumeration [2].

[1] - https://developer.apple.com/documentation/appkit/nspanel/style_masks
[2] - https://developer.apple.com/documentation/appkit/nswindowstylemask

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

Commit messages:
 - 8281555: [macos] Get rid of deprecated Style Masks constants

Changes: https://git.openjdk.java.net/jdk/pull/7408/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7408&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281555
  Stats: 22 lines in 5 files changed: 0 ins; 0 del; 22 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7408.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7408/head:pull/7408

PR: https://git.openjdk.java.net/jdk/pull/7408



More information about the client-libs-dev mailing list