RFR: 8316388: Opensource five Swing component related regression tests
Andrey Turbanov
aturbanov at openjdk.org
Mon Mar 11 11:55:56 UTC 2024
On Mon, 11 Mar 2024 09:41:47 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> Clean up five more tests.
>
> test/jdk/javax/swing/JDesktopPane/4132993/bug4132993.java
> test/jdk/javax/swing/JDesktopPane/4773378/bug4773378.java
> test/jdk/javax/swing/JEditorPane/4325606/bug4325606.java
> test/jdk/javax/swing/JEditorPane/4330998/bug4330998.java
> test/jdk/javax/swing/JEditorPane/4694598/FrameContent.html
> test/jdk/javax/swing/JEditorPane/4694598/bug4694598.java
test/jdk/javax/swing/JDesktopPane/4773378/bug4773378.java line 51:
> 49:
> 50: Robot robot;
> 51: volatile boolean keyTyped = false;
Suggestion:
volatile boolean keyTyped = false;
test/jdk/javax/swing/JEditorPane/4325606/bug4325606.java line 83:
> 81: robo.setAutoDelay(100);
> 82: robo.delay(1000);
> 83: robo.mouseMove(100,100);
Suggestion:
robo.mouseMove(100, 100);
test/jdk/javax/swing/JEditorPane/4330998/bug4330998.java line 33:
> 31:
> 32: public class bug4330998 {
> 33: public static void main(String[] args) {
Suggestion:
public static void main(String[] args) {
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18184#discussion_r1519594212
PR Review Comment: https://git.openjdk.org/jdk/pull/18184#discussion_r1519594515
PR Review Comment: https://git.openjdk.org/jdk/pull/18184#discussion_r1519594745
More information about the client-libs-dev
mailing list