On Tue, 2 Mar 2021 22:08:48 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
>> 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. Then it is a product bug, If the problem is unrelated to the performance and the root cause is in the wrong/broken final layout. Do we want to suggest the same thing if the user will get the same issue in their app? ------------- PR: https://git.openjdk.java.net/jdk/pull/2790