changeset 2530:46306a419ba3

6959266: test javax/swing/JInternalFrame/6725409/bug6725409.java should be modified Reviewed-by: alexp
author malenkov
date Thu, 01 Jul 2010 18:47:56 +0400
parents d062afbe2107
children e94a94d176f9
files test/javax/swing/JInternalFrame/6725409/bug6725409.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/swing/JInternalFrame/6725409/bug6725409.java	Thu Jul 01 18:09:45 2010 +0400
+++ b/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();