On Fri, 15 Sep 2023 19:35:15 GMT, Harshitha Onkar <[email protected]> wrote:

> Following tests are open sourced as part of this PR.
> 
> 1. test/jdk/javax/swing/text/html/CSS/bug4174871.java
> 2. test/jdk/javax/swing/text/html/CSS/bug4174874.java
> 3. test/jdk/javax/swing/text/html/CSS/bug4284162.java
> 4. test/jdk/javax/swing/text/html/CSS/bug4764897.java
> 5. test/jdk/javax/swing/text/html/HTMLDocument/bug4209280.java

test/jdk/javax/swing/text/html/CSS/bug4174871.java line 89:

> 87:         while (!(v instanceof javax.swing.text.html.ParagraphView)) {
> 88:             int n = v.getViewCount();
> 89:             Shape sh = v.getChildAllocation(n - 1,  r);

Suggestion:

            Shape sh = v.getChildAllocation(n - 1, r);

test/jdk/javax/swing/text/html/CSS/bug4174874.java line 88:

> 86:         while (!(v instanceof javax.swing.text.html.ParagraphView)) {
> 87:             int n = v.getViewCount();
> 88:             Shape sh = v.getChildAllocation(n - 1,  r);

Suggestion:

            Shape sh = v.getChildAllocation(n - 1, r);

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15769#discussion_r1328597822
PR Review Comment: https://git.openjdk.org/jdk/pull/15769#discussion_r1328598073

Reply via email to