<Swing Dev> RFR: 8259650: javax/swing/JComponent/7154030/bug7154030.java still fails with "Exception: Failed to hide opaque button"

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Jan 18 04:54:39 UTC 2021


On Sun, 17 Jan 2021 09:26:52 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> 8259650: javax/swing/JComponent/7154030/bug7154030.java still fails with "Exception: Failed to hide opaque button"

test/jdk/javax/swing/JComponent/7154030/bug7154030.java line 96:

> 94:             robot.waitForIdle(1000);
> 95: 
> 96:             Rectangle bounds = frame.getBounds();

Iguess we missed putting this getBounds and getInsets call in EDT. Maybe that thread context switch can make up for the delay that is introduced now as we already have a 1s wait before screen capture.

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

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


More information about the swing-dev mailing list