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

Alexander Zuev kizune at openjdk.java.net
Mon Jan 4 20:30:55 UTC 2021


On Mon, 4 Jan 2021 11:22:37 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> test/jdk/javax/swing/JComponent/7154030/bug7154030.java line 105:
>> 
>>> 103:             locy = bounds.y + insets.top;
>>> 104:             frw = bounds.width - insets.left - insets.right;
>>> 105:             frh = bounds.height - insets.top - insets.bottom;
>> 
>> If the intent is to do away with window decorations, can't we just call frame.setUndecorated instead of this snippet?
>> Also, it will be better to post a mach5 job in JBS running several iterations as it fails in mach5 primarily.
>
> Or even check the location of the button only?

This is the simple fix and i don't want to make the analysis are too small because this will make artifacts harder to analyze. Test runs are linked in the bug comment.

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

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


More information about the swing-dev mailing list