[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.albireo] Re: More tips for the sample code

James Peltzer wrote:
Gordon (or anyone),
As you suspected, my workaround for the requestFocus deadlock issue is not a solution 100% of the time. In fact, lately the issue is happening frequently enough to prevent my next software release.


Have you any idea why I might be getting deadlock in WComponentPeer._requestFocus when calling it from the AWT EDT after an invokeLater from the SWT EDT? I could really use some help with this one. Naturally, as with most timing bugs, I don't really have a snipped that I can post.

Could you post stack traces from the deadlocked JVM? They would be extremely helpful in diagnosing what the two EDTs (and possibly other threads) are doing at that point.