changeset 3705:4c6500d20ebf

7014796: Regression test java/awt/PrintJob/Text/stringwidth.sh cannot be terminated on Windows. Reviewed-by: prr
author jgodinez
date Fri, 04 Feb 2011 11:46:37 -0800
parents 4cf20706dbfa
children 33cd780e8989
files test/java/awt/PrintJob/Text/StringWidth.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/awt/PrintJob/Text/StringWidth.java	Thu Jan 27 16:43:28 2011 -0500
+++ b/test/java/awt/PrintJob/Text/StringWidth.java	Fri Feb 04 11:46:37 2011 -0800
@@ -63,7 +63,8 @@
   }
 
   public static void main(String[] args) {
-    new StringWidth();
+    StringWidth sw = new StringWidth();
+    sw.dispose();
   }
 
 }