jdk/test/javax/swing/JTextArea/6940863/bug6940863.java
changeset 6661 f7cea28cc498
parent 6374 e214162c907e
child 26750 d0d6c64a2e2b
--- a/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java	Tue Sep 28 10:57:56 2010 -0700
+++ b/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java	Thu Sep 30 20:21:55 2010 +0400
@@ -56,6 +56,7 @@
     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");