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

Damon Nguyen dnguyen at openjdk.org
Tue Oct 8 17:40:59 UTC 2024


On Tue, 8 Oct 2024 17:27:39 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> 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`

I can make the `returnCode` var value set to `CODE_OK` by making it public/static and calling `DnDClipboardDeadlockTest.returnCode = DnDClipboardDeadlockTest.CODE_OK`, but the test won't exit. I can throw an exception instead, but it's odd since this is supposed to pass in this scenario. Still open to suggestions.

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

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


More information about the client-libs-dev mailing list