Skip to content

v2.5.15 — Minecraft 26.4 starts again

Choose a tag to compare

@bucket-0224 bucket-0224 released this 08 Oct 05:51
· 1 commit to main since this release

What's new

  • Minecraft 26.4 (and anything else on Java 24 or newer) starts again. The cacio setup loaded a java agent whose premain overwrites the AWT toolkit's static fields through sun.misc.Unsafe (staticFieldBase, staticFieldOffset, putObject). Those methods are refused from JDK 24 and gone in 26, and a failing agent takes the whole VM down with it — which surfaced as a cacio error at startup.

    The iOS build has always run the same cacio jars without that agent, on the same Java 25, using only -Dawt.toolkit and -Xbootclasspath/a. Android now does the same on Java 24+ and keeps the agent only for the older runtimes that still need it.