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

Sergey Bylokhov serb at openjdk.java.net
Sat Jul 17 01:18:49 UTC 2021


On Fri, 16 Jul 2021 11:19:23 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.
>
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Make frame uindecorated - it removes the rounded corners and problem is
>   gone.

I also suggest to apply some suggestions from here:
https://github.com/openjdk/jdk/pull/2790#pullrequestreview-601811205
and use the frame on EDT only, since this is a swing component.

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

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


More information about the swing-dev mailing list