6959266: test javax/swing/JInternalFrame/6725409/bug6725409.java should be modified
authormalenkov
Thu, 01 Jul 2010 18:47:56 +0400
changeset 5954 fc070edf8e98
parent 5953 33ad0303d717
child 5955 94a5ce4a297b
6959266: test javax/swing/JInternalFrame/6725409/bug6725409.java should be modified Reviewed-by: alexp
jdk/test/javax/swing/JInternalFrame/6725409/bug6725409.java
--- a/jdk/test/javax/swing/JInternalFrame/6725409/bug6725409.java	Thu Jul 01 18:09:45 2010 +0400
+++ b/jdk/test/javax/swing/JInternalFrame/6725409/bug6725409.java	Thu Jul 01 18:47:56 2010 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -43,7 +43,7 @@
                     new com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel());
         } catch(UnsupportedLookAndFeelException e) {
             System.out.println("The test is for Windows LaF only");
-            System.exit(0);
+            return;
         }
 
         final bug6725409 bug6725409 = new bug6725409();