<Swing Dev> RFR: 8022535 [TEST BUG] javax/swing/text/html/parser/Test8017492.java fails

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Sun Aug 16 03:59:44 UTC 2020

Please review the fix for jdk/client.

Bug: https://bugs.openjdk.java.net/browse/JDK-8022535
Fix: http://cr.openjdk.java.net/~serb/8022535/webrev.00

The test manually uses AppContext on the custom thread and assume the
main thread has the "Main AppContext" by default, but it was removed a
long time ago,  NPE is a result of this.

The test should create it manually.

Best regards, Sergey.

More information about the swing-dev mailing list