RFR: 8359061: Update and ProblemList manual test java/awt/Cursor/CursorDragTest/ListDragCursor.java [v9]
Damon Nguyen
dnguyen at openjdk.org
Wed Jun 18 22:55:12 UTC 2025
On Wed, 18 Jun 2025 19:16:09 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> test/jdk/java/awt/Cursor/CursorDragTest/ListDragCursor.java line 123:
>>
>>> 121: failBtn.addActionListener(e -> {
>>> 122: throw new RuntimeException("Test Failed");
>>> 123: });
>>
>> You have to release the latch, otherwise the test doesn't exit if it's run without jtreg.
>
> Good point. Missed it since I ran it as jtreg test.
Moved the pass message into the passBtn listener. Added `countDown` to the failBtn to release the latch. Tested it with and without jtreg and it works now. Thanks!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25705#discussion_r2155660041
More information about the client-libs-dev
mailing list