RFR: 8315611: Open source swing text/html and tree test

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


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

> Few closed swing text/html and tree tests are opensourced

test/jdk/javax/swing/text/html/TableView/bug4813831.java line 85:

> 83:             do {
> 84:                 int n = v.getViewCount();
> 85:                 Shape sh = v.getChildAllocation(n - 1,  r);

Suggestion:

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

test/jdk/javax/swing/tree/FixedHeightLayoutCache/bug4745001.java line 139:

> 137:                             tree.collapseRow(row);
> 138:                         }
> 139:                     } catch(Exception ex) {

Suggestion:

                    } catch (Exception ex) {

test/jdk/javax/swing/tree/FixedHeightLayoutCache/bug4745001.java line 149:

> 147:                 }
> 148:             }
> 149:         } catch(Throwable t) {

Suggestion:

        } catch (Throwable t) {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15608#discussion_r1318289851
PR Review Comment: https://git.openjdk.org/jdk/pull/15608#discussion_r1318290223
PR Review Comment: https://git.openjdk.org/jdk/pull/15608#discussion_r1318290408


More information about the client-libs-dev mailing list