6982753: javax/swing/JTextArea/6940863/bug6940863.java should be modified
authormalenkov
Thu, 30 Sep 2010 20:21:55 +0400
changeset 6661 f7cea28cc498
parent 6660 7bc303389b4f
child 6662 c7e3eb015084
6982753: javax/swing/JTextArea/6940863/bug6940863.java should be modified Reviewed-by: alexp
jdk/test/javax/swing/JTextArea/6940863/bug6940863.java
--- 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");