8081484: [TEST_BUG]Test javax/swing/plaf/basic/6866751/bug6866751.java fails
Reviewed-by: alexsch, azvegint
--- a/jdk/test/javax/swing/plaf/basic/6866751/bug6866751.java Mon Jul 06 18:15:02 2015 +0300
+++ b/jdk/test/javax/swing/plaf/basic/6866751/bug6866751.java Tue Jul 07 09:51:30 2015 +0300
@@ -27,6 +27,7 @@
@author Semyon Sadetsky
*/
import javax.swing.*;
+import java.awt.*;
public class bug6866751 {
private static JFrame frame;
@@ -54,8 +55,10 @@
caretX + 1);
}
area.putClientProperty("caretWidth", 10);
+ frame.pack();
}
});
+ new Robot().waitForIdle();
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
int width = area.getWidth();