On Tue, 2 Mar 2021 18:14:12 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Alexander Zuev has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Minor fixes.
>
> test/jdk/javax/swing/JComponent/7154030/bug7154030.java line 101:
> 
>> 99: 
>> 100:             robot.waitForIdle(1000);
>> 101:             robot.delay(1000);
> 
> I doubt that this is a test issue, 2 seconds was not enough to properly show 
> the frame?

The problem is that i tried to reproduce this behavior locally on Ubuntu 
running this test (and the simplified version of it) literally millions of 
times. The only time it fails is when it is run on mach5 and even then it fails 
very rarely - once per hundreds of runs. The changes here - especially forcing 
the resize - seems to eliminate the problem with mach5.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2790

Reply via email to