Change in macOS 14.4 could break Java, says Oracle

2024-03-18 15:39:54

Oracle’s senior director of product management, Aurelio Garcia-Ribeyro, recently spoke on the company’s blog about a problem in macOS Sonoma 14.4 that is breaking the Java on Apple computers in all versions after 8.0 and even in beta builds of JDK22.

According to the executive, the problem was not present in the macOS 14.4 betas and was discovered by surprise after the system’s official release earlier this month. It happens because of a change in the way the OS notifies running processes about attempts to access protected regions of memory.

MacBook Pro running macOS Sonoma 14.4

In versions prior to macOS 14.4, the kernel The system responds to these attempts with a signal (which may be the SIGBUS or SIGSEGV) — which allows the process to handle the situation to continue normal execution. This is used by the JVM for both correctness and performance.

In the new version, however, when a thread operates in recording mode and some process tries to access a protected region in memory, the system sends the new signal SIGKILL — which simply ends the process immediately, without any possibility of treatment.

According to Garcia-Ribeyro, there is no workaround available for the problem (other than the difficult task of installing a previous version of macOS). Apple has already been notified about the bug, which was detailed by Oracle on this page.

In other words, if you use Java and have not yet updated your Mac, the recommendation for now is that you do not do so.

via MacRumors

1710781265
#Change #macOS #break #Java #Oracle

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.