RFR: 8341257: Open source few DND tests - Set1 [v2]

Harshitha Onkar honkar at openjdk.org
Tue Oct 8 17:34:32 UTC 2024


On Tue, 8 Oct 2024 17:02:26 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> test/jdk/java/awt/dnd/DnDClipboardDeadlockTest/DnDClipboardDeadlockTest.java line 336:
>> 
>>> 334: 
>>> 335:     public void dragDropEnd(DragSourceDropEvent dsde) {
>>> 336:         System.exit(DnDClipboardDeadlockTest.CODE_OK);
>> 
>> this System.exit got missed...
>
> This one is required to complete the test when finished and pass the test by sending the `CODE_OK` value. Is there an alternative?

I thought we could assign returnCode like below but the test doesn't exit

`returnCode = DnDClipboardDeadlockTest.CODE_OK`

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21394#discussion_r1792255033


More information about the client-libs-dev mailing list