<Swing Dev> RFR: 8258643: javax/swing/JComponent/7154030/bug7154030.java failed with "Exception: Failed to hide opaque button"
Sergey Bylokhov
serb at openjdk.java.net
Mon Jan 4 11:24:59 UTC 2021
On Mon, 4 Jan 2021 10:32:30 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> 8258643: javax/swing/JComponent/7154030/bug7154030.java failed with "Exception: Failed to hide opaque button"
>
> 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?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1929
More information about the swing-dev
mailing list