Skip to content

1.0.7 — 修正 26.x 的 Java 版本提示

Choose a tag to compare

@Kynarain Kynarain released this 30 Nov 12:16
· 6 commits to main since this release

1.0.7: correct the 26.x Java warning

The previous warning said a 26.x line needs Java 25. That was too strong: a newer JVM does run older bytecode, and
measured here Java 27 starts 26.3 and joins a world.

Java 27, no extra flags -> world joined, 229 [OptiFine] lines, 0 crash reports, no hs_err
Java 27 + -XX:+UseZGC -XX:+UseCompactObjectHeaders -> world joined, 253 [OptiFine] lines, 0 crash reports, no hs_err

The one fatal crash reported (hs_err_pid8020.log) was a JVM internals failure -
EXCEPTION_ACCESS_VIOLATION at StubRoutines::jbyte_disjoint_arraycopy_stub on a Worker thread - with
-Xmx6144m -XX:+UseZGC -XX:+UseCompactObjectHeaders in the command line. Both of those are experimental JVM
features, so it is a JVM bug in an experimental configuration, not an incompatibility with Minecraft 26.3, and it is
probabilistic (not reproduced in ~4.5 minutes here).

The warning now reads: Minecraft 26.x targets Java 25, newer JVMs do run it, and if an hs_err crash appears, drop the
experimental flags or use a Java 25 runtime.

Nothing else changed; 32 per-version files rebuilt as 1.0.7.