JDK-8214209 : Deadlock due to conflict between JavaFX and Accessibility Apps on MacOSX
  • Type: Bug
  • Component: javafx
  • Sub-Component: swing
  • Affected Version: 8u172
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: x86
  • Submitted: 2018-11-05
  • Updated: 2021-03-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8-poolUnresolved
Related Reports
Relates :  
Description
ADDITIONAL SYSTEM INFORMATION :
MacOS versions:
10.11.6 El Capitan	
10.12.6 Sierra
10.13.1 High Sierra	
10.14 Mojave	

JDK:
1.8u121
1.8u144
1.8u162
1.8u181


A DESCRIPTION OF THE PROBLEM :
We have a single threaded JavaFX application operating as a plugin under a Netbeans-based IDE. We've noticed that when running our application on MacOSX and using MacOS Accessibility applications (i.e. Magnet, HyperDock, VoiceOver) in the background, our application hangs indefinitely either at start-up or after the first UI interactions. We have narrowed the deadlock behavior to the following: whenever we call setScene() from our application it gets called on the Swing thread while Accessibility applications also make calls on Swing threads. This results in blocking the event queue which then causes a deadlock.


CUSTOMER SUBMITTED WORKAROUND :
close all Accessibility apps from the Accessibility Panel 

FREQUENCY : always



Comments
Reproducer from another submitter, JDK-8262292
24-02-2021

No response was received from the submitter. As there is not enough information in this report to make headway it is being closed. If this issue is seen, please open a new report with all necessary information. This report ID can be referenced.
22-11-2018

Requested Submitter to provide reproducible JavaFX program and steps to reproduce the same. Marking as Incomplete pending for more information.
06-11-2018