# HG changeset patch # User pkbalakr # Date 1483696879 -19800 # Node ID 85643a015b5a53c32edc324463e968dd15da1762 # Parent 9d78f6cdb8d5bbae1a6fdf2b33d155e9ee0dbe16 8172009: [TEST_BUG] increase timeout in java/awt/print/PaintSetEnabledDeadlock/PaintSetEnabledDeadlock.java Reviewed-by: aghaisas, psadhukhan diff -r 9d78f6cdb8d5 -r 85643a015b5a jdk/test/java/awt/print/PaintSetEnabledDeadlock/PaintSetEnabledDeadlock.java --- a/jdk/test/java/awt/print/PaintSetEnabledDeadlock/PaintSetEnabledDeadlock.java Tue Jan 03 14:15:15 2017 -0800 +++ b/jdk/test/java/awt/print/PaintSetEnabledDeadlock/PaintSetEnabledDeadlock.java Fri Jan 06 15:31:19 2017 +0530 @@ -24,16 +24,28 @@ /* * @test * @key headful - * @bug 7108598 + * @bug 7108598 8172009 * @summary Container.paint/KeyboardFocusManager.clearMostRecentFocusOwner methods deadlock * @library ../../regtesthelpers * @author Oleg Pekhovskiy * @build Util - * @run main/timeout=20 PaintSetEnabledDeadlock + * @run main PaintSetEnabledDeadlock */ -import java.awt.*; -import java.awt.event.*; +import java.awt.Button; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.Frame; +import java.awt.Graphics; +import java.awt.GridLayout; +import java.awt.Image; +import java.awt.Panel; +import java.awt.Rectangle; +import java.awt.Robot; +import java.awt.event.MouseAdapter; +import java.awt.event.MouseEvent; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; import test.java.awt.regtesthelpers.Util; public class PaintSetEnabledDeadlock extends Frame {