<Swing Dev> RFR: 8257664: HTMLEditorKit: Wrong CSS relative font sizes [v2]
Stanimir Stamenkov
github.com+1247730+stanio at openjdk.java.net
Fri Jan 15 15:35:04 UTC 2021
On Fri, 15 Jan 2021 13:18:44 GMT, Alexey Ivanov <aivanov at 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
More information about the swing-dev
mailing list