spark icon indicating copy to clipboard operation
spark copied to clipboard

macOS 16 does not exist

Open glacialvitality opened this issue 6 months ago • 3 comments

Description

Image

as described in the screenshot, apparently, either Spark or Java does not know that macOS 16 does not exist. In this case, it's supposed to be macOS 26, since Apple is changing their versioning to align with the next year's number instead.

Reproduction Steps

Run any process in game with the client running macOS Tahoe (26.0)

Expected Behaviour

Expected: The system is running Mac OS X (aarch64) version "26.0" and has 8 CPU threads available.

Platform Information

  • Minecraft Version: 1.21.5
  • Platform Type: client
  • Platform Brand: Fabric
  • Platform Version: Fabric 0.16.14

Spark Version

v1.10.138

Logs and Configs

No response

Extra Details

macOS 16 is actually supposed to be macOS 26 (Tahoe)

glacialvitality avatar Jun 29 '25 14:06 glacialvitality

spark gets this info from the os.version JVM system property:

https://github.com/lucko/spark/blob/f0b520666ca51d2f05700d5084ad80dc8435eeb0/spark-common/src/main/java/me/lucko/spark/common/monitor/os/OperatingSystemInfo.java#L79

It might get fixed in a future JDK release, or maybe it was intentional. Out of interest, what does the sw_vers command output?

lucko avatar Jun 29 '25 15:06 lucko

The relevant JDK bug: https://bugs.openjdk.org/browse/JDK-8359830

SirYwell avatar Jul 02 '25 17:07 SirYwell

Thanks, I think in that case we will await a fix in the JDK :)

lucko avatar Jul 02 '25 19:07 lucko