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

Sergey Bylokhov serb at openjdk.java.net
Thu Feb 10 23:01:10 UTC 2022


On Wed, 9 Feb 2022 17:50:48 GMT, Dmitry Markov <dmarkov at openjdk.org> wrote:

> 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

DId you check that all new constants are work the same way as the old one? For example the doc for the new "[NSWindowStyleMaskUnifiedTitleAndToolbar](https://developer.apple.com/documentation/appkit/nswindowstylemask/nswindowstylemaskunifiedtitleandtoolbar)" "said it has no effect".

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

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



More information about the client-libs-dev mailing list