< prev index next >

test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java

Print this page

        

@@ -58,14 +58,14 @@
 import java.util.concurrent.TimeUnit;
 
 /**
  * @test
  * @key headful
- * @bug 4393148 8136999 8186263 8224632
+ * @bug 4393148 8136999 8186263
  * @summary tests that removal of the drop target or disposal of frame during
  *          drop processing doesn't cause crash
- * @run main/timeout=300 RemoveDropTargetCrashTest RUN_PROCESS
+ * @run main RemoveDropTargetCrashTest RUN_PROCESS
  */
 public class RemoveDropTargetCrashTest {
 
     private static final String RUN_PROCESS = "RUN_PROCESS";
     private static final String RUN_TEST = "RUN_TEST";

@@ -299,11 +299,11 @@
         String javaPath = System.getProperty("java.home", "");
         String command = javaPath + File.separator + "bin" + File.separator + "java"
                 + " " + RemoveDropTargetCrashTest.class.getName() + " " + RUN_TEST;
 
         Process process = Runtime.getRuntime().exec(command);
-        boolean processExit = process.waitFor(200, TimeUnit.SECONDS);
+        boolean processExit = process.waitFor(100, TimeUnit.SECONDS);
 
         StringBuilder inStream = new StringBuilder();
         StringBuilder errStream = new StringBuilder();
         checkErrors(process.getErrorStream(), errStream);
         checkErrors(process.getInputStream(), inStream);
< prev index next >