<AWT Dev> RFR: 8224771 backout RemoveDropTargetCrashTest.java fix to re-push with correct bugid

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri May 24 19:52:30 UTC 2019


+1

On 24/05/2019 10:05, Phil Race wrote:
> The wrong commit message file was used, so I need to back out a test fix to re-push\
> Below is the backout change :
> 
> -phil.
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8224771
> 
> diff --git a/test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java b/test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java
> --- a/test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java
> +++ b/test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java
> @@ -60,10 +60,10 @@
>   /**
>    * @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 {
> 
> @@ -301,7 +301,7 @@
>                   + " " + 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);
> 


-- 
Best regards, Sergey.


More information about the awt-dev mailing list