-
Enhancement
-
Resolution: Fixed
-
P3
-
17
-
b08
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8282558 | 11.0.16 | Vladimir Kempik | P3 | Resolved | Fixed | b01 |
To guarantee backwards compatible binaries on Macos, we use the option -mmacosx-version-min. This is currently set to 10.9, which is a really ancient version. I propose we bump this to 10.12, which is still a rather conservative old version (support ended in 2019).
The driving issue for bumping this now is the aarch64 port, where building for aarch64 requires the version min to be set to 11.0. Having a large gap between the target versions becomes problematic as we hit a lot of deprecation warnings in shared code. To be able to fix these deprecation warnings, we need a smaller version gap.
Just bumping us to 10.12 triggers warnings in libsplashscreen, so I will temporarily add "deprecated-declarations" to the list of disabled warnings there until they can be fixed in JDK-8260402.
The driving issue for bumping this now is the aarch64 port, where building for aarch64 requires the version min to be set to 11.0. Having a large gap between the target versions becomes problematic as we hit a lot of deprecation warnings in shared code. To be able to fix these deprecation warnings, we need a smaller version gap.
Just bumping us to 10.12 triggers warnings in libsplashscreen, so I will temporarily add "deprecated-declarations" to the list of disabled warnings there until they can be fixed in JDK-8260402.
- backported by
-
JDK-8282558 Change default -mmacosx-version-min to 10.12
- Resolved
- blocks
-
JDK-8260402 [macos] Support MACOSX_VERSION_MIN target 11.0
- In Progress
- relates to
-
JDK-8265031 Change default macOS min version for x86_64 to 10.12 and aarch64 to 11.0
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/5561fd1e
-
Commit openjdk/jdk/53f1b938
-
Review openjdk/jdk11u-dev/810
-
Review openjdk/jdk/2268
(2 links to)