<AWT Dev> <Awt Dev> [9] Review Request for 8058959: closed/java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Sep 28 21:07:52 UTC 2015

The fix looks fine. I assume that the test from 4985250 passed.
Please take a look to the JDK-6333643 it seems it should be closed as 
not reproducible on jkd9.

On 28.09.15 11:41, Semyon Sadetsky wrote:
> On 9/27/2015 1:46 AM, Sergey Bylokhov wrote:
>> On 24.09.15 22:42, Semyon Sadetsky wrote:
>>> For unknown reason Frame#setBounds() was performed in two steps: set
>>> size then move in the XDecoratedPeer.
>> The fix for JDK-4985250 have split XMoveResizeWindow into two calls:
>> XResizeWindow + XMoveWindow. We need to understand why.
> As it's seen from JDK-4985250 description this fix should eliminate
> extra component move event in CDE Linux when toFront() is called. But
> the fix was done long time ago so it's hard to understand now was it
> wrong or correct because the XDecoratedPeer got many changes after that.
> Probably the algorithm to sync frame location was the root cause or it
> didn't work correctly with CDE. I cannot reproduce JDK-4985250 in recent
> Ubuntu and OEL.

Best regards, Sergey.

More information about the awt-dev mailing list