<AWT Dev> [10] Review request for 8186495: Some closed SQE tests fail after frame dispose() on Linux

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Sep 13 18:49:09 UTC 2017

Hi Sergey,

The tests passes after the fix for me. Which situations do you mean? Can 
you provide examples?


On 09/11/2017 03:20 PM, Sergey Bylokhov wrote:
> Hi, Semyon.
> Did you check why the bug is not reproduced on jdk8?
> I guess that it is still possible to get a situations below because of 
> absent synchronization on all paths of usage "window",isDispose() and 
> dispose() method:
>  - check isDispose().
>  - dispose the peer
>  - use the long value which was disposed step above
> On 9/8/17 20:00, Semyon Sadetsky wrote:
>> Hello,
>> Please review fix for JDK10:
>> bug: https://bugs.openjdk.java.net/browse/JDK-8186495
>> webrev: http://cr.openjdk.java.net/~ssadetsky/8186495/webrev.00/
>> After toolkit window is destroyed methods invocations on the window 
>> component may cause exceptions because of wrong native xwindow ID. 
>> The fix introduces checks in the X* peers to ensure that window ID is 
>> actual otherwise do nothing.
>> --Semyon

More information about the awt-dev mailing list