JDK-8186002 : [macos] The native code in DND uses cocoa components on non-Appkit thread
  • Type: Bug
  • Component: client-libs
  • Affected Version: 9,10
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: generic
  • Submitted: 2017-08-09
  • Updated: 2021-07-13
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The code in
libawt_lwawt/awt/CDragSource.m
libawt_lwawt/awt/CDropTarget.m
libawt_lwawt/awt/CDragSourceContextPeer.m
libawt_lwawt/awt/CDropTargetContextPeer.m
should uses cocoa on appkit thread.
Comments
The main issue is that the native components are dealoocated on non-Appkit while these components are accessed on Appkit. Run the test/javax/swing/dnd/8139050/NativeErrorsInTableDnD.java in the loop. At some point it will hang.(2 times out of 10)
09-08-2017