Skip to content

Commit 9beb866

Browse files
committed
8233561: [TESTBUG] Swing text test bug8014863.java fails on macos
Reviewed-by: psadhukhan
1 parent fe4e6b3 commit 9beb866

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/jdk/ProblemList.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,6 @@ javax/swing/dnd/8139050/NativeErrorsInTableDnD.java 8202765 macosx-all,linux-al
778778
javax/swing/Popup/TaskbarPositionTest.java 8065097 macosx-all,linux-all
779779
javax/swing/JEditorPane/6917744/bug6917744.java 8213124 macosx-all
780780
javax/swing/JTree/6263446/bug6263446.java 8213125 macosx-all
781-
javax/swing/text/View/8014863/bug8014863.java 8233561 macosx-all
782781
javax/swing/text/StyledEditorKit/4506788/bug4506788.java 8233562 macosx-all
783782
javax/swing/JRootPane/4670486/bug4670486.java 8042381 macosx-all
784783
javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java 8233555 macosx-all

test/jdk/javax/swing/text/View/8014863/bug8014863.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -59,7 +59,7 @@ public class bug8014863 {
5959

6060
public static void main(String[] args) throws Exception {
6161
robot = new Robot();
62-
robot.setAutoDelay(50);
62+
robot.setAutoDelay(100);
6363
glyphViews = new ArrayList<GlyphView>();
6464

6565
createAndShowGUI(text1);
@@ -152,6 +152,7 @@ public void run() {
152152

153153
frame.add(editorPane);
154154
frame.setSize(200, 200);
155+
frame.setLocationRelativeTo(null);
155156
frame.setVisible(true);
156157
}
157158
});

0 commit comments

Comments
 (0)