Security News

Oracle Warns of Java Issues Caused by macOS 14.4 Update

Oracle warns that macOS 14.4 ends Java processes on Apple silicon Macs, affecting Java 8 to early JDK 22 builds. See what happens and what to do.

Brandefense logo Updated 2 Min Read
oracle warns issues beacuse of macos updates

The Java crash on macOS 14.4 hits Java applications on Apple silicon Macs (M1, M2 and M3). After the update, macOS sends a SIGKILL signal when a thread touches a protected memory region, so Java processes end abruptly. Oracle said it affects Java 8 through early access builds of JDK 22, and advised users of Java on ARM-based Apple devices to delay the update until a solution is found.

What did Oracle say about the Java crash on macOS 14.4?

Oracle has announced that an issue introduced by macOS 14.4, causing Java processes to terminate unexpectedly, affects all Java versions from Java 8 to the early access builds of JDK 22. This problem remains unresolved, with no available workaround. Notably, the issue was not present in early access releases preceding macOS 14.4 but was discovered post-update release.

Why does macOS 14.4 terminate Java processes?

macOS on Apple silicon processors (M1, M2, and M3) includes a feature governing the production and execution of dynamically generated code. However, with macOS 14.4, attempts by threads to access protected memory regions result in macOS sending a SIGKILL signal, terminating the process. This significantly impacts the operation of the Java Virtual Machine, leading to the abrupt termination of Java processes.

What should Java users on Apple silicon do?

Oracle has notified its customers, Apple, and OpenJDK partners of this issue, advising users of Java on ARM-based Apple devices running macOS 14 to delay applying the update until a solution is found.

Frequently Asked Questions.

Which Macs are affected by the Java crash on macOS 14.4?

Macs with Apple silicon processors (M1, M2 and M3). The OpenJDK bug record says Intel systems are unaffected.

Why does Java crash on macOS 14.4?

With macOS 14.4, when a thread tries to access a protected memory region, macOS sends a SIGKILL signal that ends the process. This abruptly stops Java processes.

Which Java versions are affected by the macOS 14.4 problem?

Oracle said all versions from Java 8 to early access builds of JDK 22. The OpenJDK record lists 8u401, 11.0.22, 17.0.10, 21.0.2 and 22.

Has the Java macOS 14.4 problem been fixed?

The OpenJDK bug tracker shows a related issue (JDK-8328219) closed with a fix integrated into JDK 22, and the main report (JDK-8327860) closed with resolution External, noting the problem could not be reproduced on JDK 22. The post describes the status when Oracle announced the issue.

Sources

  1. 1 OpenJDK bug tracker: JDK-8328219, Java Terminates Unexpectedly on Apple silicon Systems
  2. 2 OpenJDK bug tracker: JDK-8327860, Java processes get killed on macOS 14.4