On Wed, 18 Jun 2025 19:16:09 GMT, Harshitha Onkar <hon...@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