On Tue, 19 Sep 2023 16:55:02 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
>> test/jdk/javax/swing/text/html/HTMLDocument/bug4209280.java line 36: >> >>> 34: public static void main(String[] args) throws Exception { >>> 35: String html = "<html><bold>Foo</bold></html>"; >>> 36: new JLabel(html); >> >> Suggestion: >> >> // The following line should throw no exceptions >> new JLabel(html); >> >> This may clarify the intention of the reader skipped the summary. > > Agreed. Adds more clarity. Updated. Usually full stops aren't used in comments, unless it consists of several sentences. I'm nitpicking. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15769#discussion_r1330489466