On Mon, 6 Jun 2022 20:45:46 GMT, Damon Nguyen <dngu...@openjdk.org> wrote:
>> Updated Parser class doc by appending to the doc regarding lack of support >> for HTML script tags. Adding this information to the "parse" function did >> not seem as consistent for formatting as adding it to the Parser class doc. > > Damon Nguyen has updated the pull request incrementally with one additional > commit since the last revision: > > Changed doc text. test/jdk/javax/swing/text/html/HtmlTagParserTest.java line 65: > 63: InvocationTargetException { > 64: SwingUtilities.invokeAndWait(() -> { > 65: jep = new JEditorPane(); Suggestion: jep = new JEditorPane("text/html", htmlText); It produces the same result as loading the HTML from a temporary file. test/jdk/javax/swing/text/html/HtmlTagParserTest.java line 83: > 81: } > 82: > 83: public static void main(String args[]) throws InterruptedException, Suggestion: public static void main(String[] args) throws InterruptedException, Please use Java-style array declaration. ------------- PR: https://git.openjdk.java.net/jdk/pull/7446