JDK-8080504 : [macosx] SunToolkit.realSync() may hang
Type:Bug
Component:client-libs
Sub-Component:java.awt
Affected Version:8,9
Priority:P4
Status:Resolved
Resolution:Fixed
OS:os_x
CPU:generic
Submitted:2015-05-15
Updated:2018-02-15
Resolved:2015-06-29
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.
When nested AppKit loop is initiated the call to SunToolkit.realSync() may not return since the Java_sun_lwawt_macosx_LWCToolkit_nativeSyncQueue method doesn't honor the timeout argument.
Comments
This fix can't be easily verified. The accessibility tool need to be turned on and the AWT sources need to be patched to reproduce the hang.
29-06-2015
Final webrev: http://cr.openjdk.java.net/~anashaty/8080504/webrev.01/