From a5b7bc50d450e083a09c16c73f9097650142fe35 Mon Sep 17 00:00:00 2001 From: Prasanta Sadhukhan Date: Thu, 22 Oct 2020 06:45:03 +0000 Subject: [PATCH] 7156347: javax/swing/JList/6462008/bug6462008.java fails Reviewed-by: serb, pbansal --- test/jdk/ProblemList.txt | 1 - test/jdk/javax/swing/JList/6462008/bug6462008.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/jdk/ProblemList.txt b/test/jdk/ProblemList.txt index a93dcc13f98..0b617068b33 100644 --- a/test/jdk/ProblemList.txt +++ b/test/jdk/ProblemList.txt @@ -754,7 +754,6 @@ javax/swing/JComboBox/8072767/bug8072767.java 8196093 windows-all,macosx-all javax/swing/JFileChooser/4524490/bug4524490.java 8042380 generic-all javax/swing/JFileChooser/6396844/TwentyThousandTest.java 8198003 generic-all javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java 8193942 generic-all -javax/swing/JList/6462008/bug6462008.java 7156347 generic-all javax/swing/JPopupMenu/6580930/bug6580930.java 7124313 macosx-all javax/swing/JPopupMenu/6800513/bug6800513.java 7184956 macosx-all javax/swing/JPopupMenu/6675802/bug6675802.java 8196097 windows-all diff --git a/test/jdk/javax/swing/JList/6462008/bug6462008.java b/test/jdk/javax/swing/JList/6462008/bug6462008.java index d3058c84b01..0f3a1d1bd81 100644 --- a/test/jdk/javax/swing/JList/6462008/bug6462008.java +++ b/test/jdk/javax/swing/JList/6462008/bug6462008.java @@ -61,6 +61,7 @@ public class bug6462008 { }); robot.waitForIdle(); + robot.delay(1000); setAnchorLead(-1); robot.waitForIdle(); @@ -366,6 +367,7 @@ public class bug6462008 { frame.getContentPane().add(panel); frame.setVisible(true); + frame.setLocationRelativeTo(null); } private static void checkSelection(int... sels) throws Exception {