macOS Sonoma 14.4 might break Java on your machine
Scope of the Java / macOS 14.4 Issue
- macOS 14.4 changes behavior for protected-memory writes: some cases that used to raise SIGSEGV/SIGBUS now result in SIGKILL.
- HotSpot (and other JVMs) legitimately rely on SIGSEGV as part of normal JIT and runtime behavior (e.g., implicit null checks, safepoints, possibly GC tricks), so unexpected SIGKILL terminates JVM processes.
- Several commenters note this contradicts POSIX expectations for segmentation faults; others say using signals this way is longstanding and documented, not “bizarre.”
- Some users report IDEs (JetBrains, Eclipse) and tools crashing occasionally; others say they can’t reproduce the issue despite heavy Java use.
- The impact is mostly on developers and JVM-based tools, not “typical” Mac users, but that still affects many professionals.
Workarounds and Mitigations
- Suggested JVM flags:
- Disable or limit signal use (e.g.,
-Xrs) at the cost of worse behavior on interrupts and some runtime features. - Disable JIT (
-Xintor-Djava.compiler=NONE), with large performance penalties.
- Disable or limit signal use (e.g.,
- Running Java in Docker on macOS might avoid the bug because Docker uses a Linux VM, but this is discussed as likely/possible, not confirmed.
- Some organizations are freezing macOS at 14.3 on work machines; others highlight the security tradeoff of delaying OS updates.
Apple QA, Release Process, and Reversibility
- Many question how such a kernel-level change shipped in a final release but was absent or different in earlier betas.
- There is strong criticism of Apple’s QA and of making a breaking behavioral change to signals without clear coordination.
- Irreversibility of macOS major/minor upgrades is a major concern: users cannot easily roll back if something like this breaks their workflow.
macOS as a Developer Platform (Broader Debate)
- Large subthread debates macOS vs Linux vs Windows for development:
- Some say macOS is unreliable, hostile to third-party hardware (monitors, audio), has poor window management, Docker friction, and POSIX “uncanny valley” issues.
- Others report macOS as rock-solid, with excellent hardware, good terminals, and strong everyday UX, preferring it to both Windows and Linux.
- Complaints also cover Finder UX, external display scaling, audio glitches under load, and perceived decline in macOS polish over the last decade.