On Mon, 4 Jan 2021 10:32:30 GMT, Prasanta Sadhukhan <psadhuk...@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

Reply via email to