<Swing Dev> RFR: 8262085: Hovering Metal HTML Tooltips in different windows cause IllegalArgExc on Linux [v2]

Alexander Zvegintsev azvegint at openjdk.java.net
Sun Feb 28 07:43:40 UTC 2021


On Sat, 27 Feb 2021 21:42:30 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   simplified test
>
> test/jdk/javax/swing/JToolTip/FastTooltipSwitchIAE.java line 52:
> 
>> 50:         SwingUtilities.invokeLater(() -> {
>> 51:             try {
>> 52:                 UIManager.setLookAndFeel(new MetalLookAndFeel());
> 
> Can the test checks all installed L&F just to check for similar bugs?

Sure.

> Any idea why Linux is affected only?

Actually it is not. It is just can be easily reproduced during normal use on Linux only.
After test simplification it fails on every platform before the fix.

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

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


More information about the swing-dev mailing list