<Swing Dev> Review request for 7146146: Deadlock between subclass of AbstractDocument and UndoManager

Pavel Porvatov pavel.porvatov at oracle.com
Thu Apr 5 15:59:33 UTC 2012


Hi,

This is a review request for CR 7146146

Bug description: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7146146
Webrev: http://cr.openjdk.java.net/~rupashka/7146146/webrev.0/

Evaluation of the problem:
We should do any notifications outside of internal locks. The solution 
is to correct AbstractDocument#insertString method and move 
fireInsertUpdate and fireUndoableEditUpdate invocations from 
writeLock/writeUnlock block

Regards, Pavel



More information about the swing-dev mailing list