On Fri, 15 Jan 2021 13:18:44 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> test/jdk/javax/swing/text/html/StyleSheet/bug8257665.java line 14:
>> 
>>> 12: /*
>>> 13:  * @test
>>> 14:  * @key headless
>> 
>> No need to specify headless tag. If it's not @key headful, then it is 
>> implicitly headless
>
> I believe the test is _headful_ because it uses 
> `SwingUtilities.invokeAndWait` even though it does not show any UI.

I've used `SwingUtilities.invokeAndWait` just to be on the safe side that 
"everything Swing should be executed on the EDT" but I guess I could drop it as 
no UI ever shown?

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

PR: https://git.openjdk.java.net/jdk/pull/1759

Reply via email to