RFR: 8315609: Open source few more swing text/html tests

Andrey Turbanov aturbanov at openjdk.org
Thu Sep 7 08:49:47 UTC 2023


On Thu, 7 Sep 2023 04:22:59 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Few closed swing text/html tests are open sourced

test/jdk/javax/swing/text/html/TableView/bug4412522.java line 87:

> 85: 
> 86:                 int n = v.getViewCount();
> 87:                 Shape sh = v.getChildAllocation(n - 1,  r);

Suggestion:

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

test/jdk/javax/swing/text/html/TableView/bug4690812.java line 82:

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

Suggestion:

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

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15607#discussion_r1318290936
PR Review Comment: https://git.openjdk.org/jdk/pull/15607#discussion_r1318291199


More information about the client-libs-dev mailing list