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