RFR: 8263322: Deadlock when calling Application.launch in the FXThread after Platform.startup [v2]

Florian Kirmaier fkirmaier at openjdk.java.net
Wed Mar 10 16:26:07 UTC 2021


On Wed, 10 Mar 2021 15:29:37 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

>>> * Initalize the FX runtime via Platform.startup and then launch an Application on another thread (should throw ISE)
>> 
>> That should be:
>> 
>> * Initalize the FX runtime via Platform.startup and then launch an Application on the FX Application thread (should throw ISE)
>
> Contribution.MD states, that it's automatically checked for whitespace errors? Is this not true?
> 
> As a clarification, this PR restores the previous behavior before Platform.startup. With this PR Application.launch and Platform.startup behaves the same.

I forgot to commit a part of the fix, which is why the second test hang. It's now part of the PR.

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

PR: https://git.openjdk.java.net/jfx/pull/421


More information about the openjfx-dev mailing list