<Swing Dev> [9] Review Request for 8145787: [TEST_BUG][PIT] javax/swing/undo/UndoManager/AbstractDocumentUndoConcurrentTest.java fails with CannotUndoException

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Apr 12 19:03:41 UTC 2016


The fix looks good to me.

Thanks,
Alexandr.

On 12/04/16 20:16, Semyon Sadetsky wrote:
> On 4/11/2016 6:02 PM, Alexander Scherbatiy wrote:
>> On 12/22/2015 4:47 PM, Semyon Sadetsky wrote:
>>> Hello,
>>>
>>> Please review fix for JDK9:
>>>
>>> bug: https://bugs.openjdk.java.net/browse/JDK-8145787
>>> webrev: http://cr.openjdk.java.net/~ssadetsky/8145787/webrev.00/
>>>
>>> This is a multithreading stress test in which the undo queue depth 
>>> may reach zero sometimes occasionally. The corresponding checks were 
>>> added.
>>     What is the sequence of the threads leads that the exception is 
>> thrown?
> When undo() operation from t3 called more times than insertString() 
> and remove() in t1 and t2. Note that undoOrRedo() in t3 is also may 
> work as undo().
>
> --Semyon
>>
>>    Thanks,
>>    Alexandr.
>>
>>>
>>> --Semyon
>>>
>>
>




More information about the swing-dev mailing list