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

Harshitha Onkar honkar at openjdk.org
Thu Oct 10 19:26:22 UTC 2024


On Thu, 10 Oct 2024 19:05:51 GMT, Phil Race <prr at openjdk.org> wrote:

>> Do you mean via a lock or am I misunderstanding this? I assumed this `exit()` was called once because there is only one instance of DragSourceButton/DragSourcePanel which would be the only one calling `exit()`.
>
>> Do you mean via a lock or am I misunderstanding this? I assumed this `exit()` was called once because there is only one instance of DragSourceButton/DragSourcePanel which would be the only one calling `exit()`.
> 
> OK. If that's the case then this should be fine

The above explanation sounds correct. Looks like System.exit() is called only from child process.

Parent process : test.start() creates DropTargetPanel()
Child process: test.run(args) creates DragSourcePanel + DragSourceButton => DragSourceButton has the exit() call.

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

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


More information about the client-libs-dev mailing list