<Swing Dev> RFR: 8258924: javax/swing/JSplitPane/4201995/bug4201995.java fails in GTk L&F
Sergey Bylokhov
serb at openjdk.java.net
Thu Dec 31 06:34:58 UTC 2020
On Thu, 24 Dec 2020 07:33:52 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> This test tests whether SplitPane is opaque or not but in nimbus and subseqeuently in GTK L&F the opaque property is set to false [1]
> As nimbus is already handled in the test, it is modified to handle GTK L&F too. Along with this modification, the test is also updated to test all installed L&Fs.
> Mach5 job running for several iterations for all platform is ok. Link in JBS.
>
> [1] https://raw.githubusercontent.com/openjdk/jdk/master/src/java.desktop/share/classes/javax/swing/plaf/nimbus/skin.laf
> uiComponent opaque="false" type="javax.swing.JSplitPane" name="SplitPane" ui="SplitPaneUI" subregion="false"
test/jdk/javax/swing/JSplitPane/4201995/bug4201995.java line 40:
> 38: UIManager.setLookAndFeel(LF.getClassName());
> 39: } catch (UnsupportedLookAndFeelException ignored) {
> 40: System.out.println("Unsupported L&F: " + LF.getClassName());
If L&F is unsupported then don't we need to continue o the next one?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1888
More information about the swing-dev
mailing list