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

Tejpal Rebari tejpal.rebari at oracle.com
Mon Mar 30 05:52:02 UTC 2020


Hi All,
Please review the following test only fix for jdk15.

Bug : https://bugs.openjdk.java.net/browse/JDK-8241228 <https://bugs.openjdk.java.net/browse/JDK-8241228>
Fix : http://cr.openjdk.java.net/~trebari/swing/8241228/webrev00/ <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200330/a75d547c/attachment.htm>


More information about the swing-dev mailing list