This fixes a deadlock (i.e. in JFileChooser) by removing a lock in
LightweightDispatcher. This is _not_ the 100% correct solution, it only
rolls back to what we had before. The correct solution would be to
minimize the lock to only the code that needs it, and dispatch the
events _without_ holding the lock.
2007-10-15 Roman Kennke <[EMAIL PROTECTED]>
* java/awt/LightweightDispatcher.java
(dispatchEvent): Don't synchronize on the AWT lock here,
this causes a deadlock in some situations.
/Roman
--
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt