RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v3]
vkempik at openjdk.java.net
Mon Jan 25 22:28:46 UTC 2021
On Mon, 25 Jan 2021 22:22:06 GMT, Phil Race <prr at 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
>> 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
> 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
> NSBorderlessWindowMask is replaced by NSWindowStyleMask
Min_macos version is changed to 11.0 for macos_aarch64
More information about the core-libs-dev