RFR: 8364363: Modify some manual test instructions [v2]
Damon Nguyen
dnguyen at openjdk.org
Tue Aug 26 22:41:31 UTC 2025
On Mon, 25 Aug 2025 10:15:04 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Damon Nguyen has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Fix correcting character limit to undo all changes and leave file untouched.
>> - Convert test to auto. Revert TextArea test changes
>
> test/jdk/java/awt/List/MouseDraggedOriginatedByScrollBarTest.java line 58:
>
>> 56: System.out.println("The test is XAWT-only.");
>> 57: return;
>> 58: }
>
> Use `@requires os.family == "linux"` to avoid starting the test on other OS.
>
> This check can then be removed.
Updated. Do I have to differentiate between X11 and Wayland though?
> test/jdk/java/awt/List/MouseDraggedOriginatedByScrollBarTest.java line 66:
>
>> 64: if (frame != null) {
>> 65: EventQueue.invokeAndWait(() -> frame.dispose());
>> 66: }
>
> Let's be consistent:
> Suggestion:
>
> EventQueue.invokeAndWait(() -> {
> if (frame != null) {
> frame.dispose();
> }
> });
Thanks! Updated.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26636#discussion_r2302295748
PR Review Comment: https://git.openjdk.org/jdk/pull/26636#discussion_r2302295943
More information about the client-libs-dev
mailing list