<Swing Dev> RFR: 8261689: javax/swing/JComponent/7154030/bug7154030.java still fails with "Exception: Failed to hide opaque button" [v2]
Alexander Zuev
kizune at openjdk.java.net
Tue Mar 2 22:12:53 UTC 2021
On Tue, 2 Mar 2021 18:14:12 GMT, Sergey Bylokhov <serb at 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
More information about the swing-dev
mailing list