RFR: JDK-8315951: Open source several Swing HTMLEditorKit related tests

Damon Nguyen dnguyen at openjdk.org
Fri Sep 15 22:15:40 UTC 2023


On Thu, 14 Sep 2023 18:45:34 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Following tests are open sourced as part of this PR.
> 
> 1. java/awt/event/PaintEvent/RepaintTest/RepaintTest.java
> 2. javax/swing/text/html/HTMLEditorKit/4214848/bug4214848.java
> 3. javax/swing/text/html/HTMLEditorKit/4230197/bug4230197.java
> 4. javax/swing/text/html/HTMLEditorKit/4238223/bug4238223.java

Looks fine to me.

test/jdk/java/awt/event/PaintEvent/RepaintTest.java line 67:

> 65:             EventQueue.invokeAndWait(() -> panel.repaint());
> 66:             robot.waitForIdle();
> 67:             robot.delay(1000);

I see 3 different delay ms values. Looks like it works, but can this be standardized into 1 or 2 values?

-------------

Marked as reviewed by dnguyen (Committer).

PR Review: https://git.openjdk.org/jdk/pull/15751#pullrequestreview-1629772633
PR Review Comment: https://git.openjdk.org/jdk/pull/15751#discussion_r1327824958


More information about the client-libs-dev mailing list