JDK-7159230 : Deadlock at sun.awt.PostEventQueue
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-04-05
  • Updated: 2012-07-12
  • Resolved: 2012-07-12
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 7 JDK 8
7u6Resolved 8Resolved
Related Reports
Duplicate :  
Duplicate :  
Description
Deadlock at application startup, possibly a regression in 7u4 b18.

Please, see the attached thread dump from NetBeans startup. This has been encountered only recently, running with 7u4 b18.

Please evaluate ASAP for 7u4.

Thanks.

Related NB bug:
http://netbeans.org/bugzilla/show_bug.cgi?id=210752

Comments
EVALUATION 7122796, which was integrated into 7u4-b06, may potentially have impact here. However, this fix shouldn't affect any "correct" applications, where sun.awt.SunToolkit class initialization is triggered in the main AppContext.
05-04-2012

EVALUATION I wonder what is the sequence that leads to EventQueue.detachDispatchThread() on application startup...
05-04-2012

EVALUATION This is not a regression and not Mac OS X specific: this shared code hasn't been conceptually changed for at least a couple of years, so I'm lowering it to P3 and targeting to 8 (7u6 fix will follow). *** (#1 of 2): [ UNSAVED ] ###@###.### I wonder what is the sequence that leads to EventQueue.detachDispatchThread() *** (#2 of 2): [ UNSAVED ] ###@###.###
05-04-2012