-
Bug
-
Resolution: Fixed
-
P3
-
25
-
b05
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8360777 | 25 | Jaikiran Pai | P3 | Resolved | Fixed | b30 |
> It is recommended that you use at least macOS 14 and Xcode 15.4, but earlier versions may also work.
When using this version of XCode to build the JDK on macOS 26 (Beta), the macOS NSProcessInfo and NSOperatingSystemVersion APIs report the macOS version as 16.0. Other parts of macOS ecosystem report a different and more correct version. For example, the "sw_vers" returns this on macOS 26 Beta:
sw_vers
ProductName: macOS
ProductVersion: 26.0
BuildVersion: 25A5279m
The JDK code uses the NSProcessInfo and NSOperatingSystemVersion APIs to determine the operating system version and once determined, that value is set to the "os.version" Java standard system property. Setting this to 16.0 on macOS 26 can (and does) cause problems. In the past, when we had a similar issue with macOS 10.16 (which actually was macOS 11), we updated the JDK code to correctly detect the mismatch and set the os.version appropriately (
- backported by
-
JDK-8360777 Incorrect os.version reported on macOS Tahoe 26 (Beta)
-
- Resolved
-
- relates to
-
JDK-8359913 jtreg version check error message is not accurate
-
- Open
-
-
JDK-8360708 Incorrect OS version reported by -XX:+PrintVMInfoAtExit and in VM error reports on macOS Tahoe 26 (Beta)
-
- Open
-
-
CODETOOLS-7904045 Remove the macOS version check from jtreg
-
- Resolved
-
-
JDK-8253702 BigSur version number reported as 10.16, should be 11.nn
-
- Resolved
-
- links to
-
Commit(jdk25) openjdk/jdk/926c900e
-
Commit(master) openjdk/jdk/8df6b2c4
-
Review(jdk25) openjdk/jdk/26003
-
Review(master) openjdk/jdk/25865