diff --git a/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java b/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java index ffcd2d44aa5..b868d41adfc 100644 --- a/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java +++ b/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java @@ -56,6 +56,7 @@ public class bug6940863 { public static void main(String[] args) throws Exception { if (OSInfo.getOSType() != OSInfo.OSType.WINDOWS) { System.out.println("The test is suitable only for Windows OS. Skipped"); + return; } UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");