On Tue, 8 Oct 2024 17:27:39 GMT, Harshitha Onkar <[email protected]> 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
