On Mon, 25 Aug 2025 13:23:40 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> test/jdk/javax/swing/text/html/bug8314731.java line 68: >> >>> 66: SwingUtilities.invokeAndWait(new Runnable() { >>> 67: public void run() { >>> 68: jf.dispose(); >> >> Check if `jf` is not `null ` and then dispose > > And use a lambda expression instead of explicit anonymous `Runnable`. Addressed. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15319#discussion_r2328644031