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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Jul 15 11:49:11 UTC 2021


On Thu, 15 Jul 2021 11:27:39 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Reducing the height of the analyzed area to get rid of the rounded edges
> at the botom of the frame. Apparently shadow outside of it being
> rendered by Mac OS X Big Sur inconsistently which gives random test
> failures on M1 macs with Big Sur.

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

> 108:             locy = bounds.y + insets.top;
> 109:             frw = bounds.width - insets.left - insets.right;
> 110:             frh = bounds.height - insets.top - insets.bottom - 25;

Will making frame undecorated help instead of this?
Can you also please give a CI job running this test on all platforms for several iterations?
Since this test has undergone multiple iterations, can you please confirm that this test still fails without 7154030 fix?

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

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


More information about the swing-dev mailing list