On Mon, 25 Jan 2021 22:22:06 GMT, Phil Race <p...@openjdk.org> wrote:
>> It seems these workarounds are still needed: >> >> jdk/src/java.desktop/macosx/native/libsplashscreen/splashscreen_sys.m:300:39: >> error: 'NSAlphaFirstBitmapFormat' is deprecated: first deprecated in macOS >> 10.14 [-Werror,-Wdeprecated-declarations] >> bitmapFormat: NSAlphaFirstBitmapFormat | >> NSAlphaNonpremultipliedBitmapFormat >> ^~~~~~~~~~~~~~~~~~~~~~~~ >> NSBitmapFormatAlphaFirst >> >> jdk/src/java.desktop/macosx/native/libsplashscreen/splashscreen_sys.m:438:34: >> error: 'NSBorderlessWindowMask' is deprecated: first deprecated in macOS >> 10.12 [-Werror,-Wdeprecated-declarations] >> styleMask: NSBorderlessWindowMask >> ^~~~~~~~~~~~~~~~~~~~~~ >> NSWindowStyleMaskBorderless > > Are you doing something somewhere to change the target version of macOS or > SDK ? I had no such problem. > I think we currently target a macOS 10.9 and if you are changing that it > would need discussion. > If you are changing it only for Mac ARM that may make more sense .. > > And these appear to be just API churn by Apple > NSAlphaFirstBitmapFormat is replaced by NSBitmapFormatAlphaFirst > > https://developer.apple.com/documentation/appkit/nsbitmapformat/nsbitmapformatalphafirst?language=objc > > NSBorderlessWindowMask is replaced by NSWindowStyleMask > > https://developer.apple.com/documentation/appkit/nswindowstylemask?language=occ Min_macos version is changed to 11.0 for macos_aarch64 https://github.com/openjdk/jdk/pull/2200/files/0c2cb0a372bf1a8607810d773b53d6959616a816#diff-7cd97cdbeb3053597e5d6659016cdf0f60b2c412bd39934a43817ee0b717b7a7R136 ------------- PR: https://git.openjdk.java.net/jdk/pull/2200