<Swing Dev> RFR: 8241228 Test jdk/javax/swing/UIDefaults/8146330/UIDefaultKeySizeTest.java is failing

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Mar 31 05:44:23 UTC 2020


Hi, Tejpal.

The fix looks fine, but you need to wait until the fix for JDK-8241491
will not be merged to JDK/client, otherwise, the merge conflict will occur.

On 3/29/20 10:52 pm, Tejpal Rebari wrote:
> Hi All,
> Please review the following test only fix for jdk15.
> 
> Bug : https://bugs.openjdk.java.net/browse/JDK-8241228
> Fix : http://cr.openjdk.java.net/~trebari/swing/8241228/webrev00/
> 
> Issue : The test UIDefaultKeySizeTest.java is failing in nightly headless
> testing on Solaris and Linux.
> It throws javax.swing.UnspportedLookAndFeelException.
> 
> Fix : Fix is to catch the UnspportedLookAndFeelException when it is thrown
> by some LookAndFeel and skip for that LookAndFeel.
> Also added headful keyword to run test on machines which has all the
> Supported lookAndFeel installed.
> 
> Regards
> Tejpal
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list