changeset 2792:990bbd005f28

6982753: javax/swing/JTextArea/6940863/bug6940863.java should be modified Reviewed-by: alexp
author malenkov
date Thu, 30 Sep 2010 20:21:55 +0400
parents 75a0f7b47024
children 76edcef04379
files test/javax/swing/JTextArea/6940863/bug6940863.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/swing/JTextArea/6940863/bug6940863.java	Tue Sep 28 10:57:56 2010 -0700
+++ b/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");