RFR: JDK-8314731 : Add support for the alt attribute in the image type input HTML tag [v10]

ScientificWare duke at openjdk.org
Sun Sep 7 11:36:25 UTC 2025


On Mon, 25 Aug 2025 13:23:40 GMT, Alexey Ivanov <aivanov at 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


More information about the client-libs-dev mailing list