RFR: 8169285: Re-enable javafx.swt tests [v3]

Marius Hanl mhanl at openjdk.org
Fri May 9 12:18:58 UTC 2025


On Mon, 28 Apr 2025 09:38:06 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

>> This PR enables `javafx.swt` tests for:
>> - Windows
>> 
>> Disabled on:
>> - Linux, since some distros seems to have problems
>> - MacOS: The following warning is printed right before the error: `***WARNING: Display must be created on main thread due to Cocoa restrictions. Use vmarg -XstartOnFirstThread`
>
> Marius Hanl has updated the pull request incrementally with one additional commit since the last revision:
> 
>   SWT_TEST default is false on MacOS

So after checking on MacOS, the following warning is printed right before it fails: `***WARNING: Display must be created on main thread due to Cocoa restrictions. Use vmarg -XstartOnFirstThread`. After researching, it seems that there really is no other way than setting that flag.

I think we might wanna set it in a follow up and recheck, if it works?

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

PR Comment: https://git.openjdk.org/jfx/pull/1783#issuecomment-2866330039


More information about the openjfx-dev mailing list