RFR: 8260633: [macos] java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
Abhishek Kumar
abhiscxk at openjdk.org
Wed May 8 06:13:53 UTC 2024
On Tue, 7 May 2024 18:03:23 GMT, Alisen Chung <achung at openjdk.org> wrote:
> Opening closed dnd test
> Test is green on all platforms
test/jdk/java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.java line 132:
> 130:
> 131: final Point srcPoint = frame.getLocationOnScreen();
> 132: Dimension d = frame.getSize();
should be accessed on EDT.
test/jdk/java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.java line 150:
> 148: robot.mousePress(InputEvent.BUTTON1_MASK);
> 149: robot.mouseMove(srcPoint.x, srcPoint.y);
> 150: System.err.println("srcPoint = " + srcPoint);
Generally any error message is print with `System.err` on the terminal or console, here `System.out` can be used to print normal message to output stream.
Applicable to other places as well if it is just a normal output message.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19128#discussion_r1593435795
PR Review Comment: https://git.openjdk.org/jdk/pull/19128#discussion_r1593424073
More information about the client-libs-dev
mailing list