Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v8]

2023-09-08 Thread John Hendrikx
On Fri, 8 Sep 2023 18:37:43 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request i

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v8]

2023-09-08 Thread Kevin Rushforth
On Fri, 8 Sep 2023 18:37:43 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request i

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v8]

2023-09-08 Thread Andy Goryachev
> In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v7]

2023-09-08 Thread Andy Goryachev
On Fri, 8 Sep 2023 18:18:30 GMT, Nir Lisker wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> only public > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > line 99: >

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v8]

2023-09-08 Thread Nir Lisker
On Fri, 8 Sep 2023 18:32:18 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request i

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v7]

2023-09-08 Thread Andy Goryachev
On Fri, 8 Sep 2023 18:13:45 GMT, Nir Lisker wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> only public > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > line 103:

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v7]

2023-09-08 Thread Nir Lisker
On Fri, 8 Sep 2023 15:01:34 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request i

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v4]

2023-09-08 Thread Kevin Rushforth
On Tue, 22 Aug 2023 09:46:28 GMT, Nir Lisker wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > Looks good. Gave a couple of minor optional suggestions. > > As to the topic of class finding, I t

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v7]

2023-09-08 Thread Kevin Rushforth
On Fri, 8 Sep 2023 15:01:34 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request i

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v7]

2023-09-08 Thread Andy Goryachev
> In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v6]

2023-09-08 Thread Andy Goryachev
On Fri, 8 Sep 2023 13:02:31 GMT, Kevin Rushforth wrote: >> Andy Goryachev has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 10 additional >> commi

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v6]

2023-09-08 Thread Kevin Rushforth
On Thu, 7 Sep 2023 23:32:15 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request w

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v5]

2023-09-07 Thread Andy Goryachev
On Thu, 7 Sep 2023 22:42:57 GMT, Kevin Rushforth wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > l

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v6]

2023-09-07 Thread Andy Goryachev
> In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The incrementa

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v4]

2023-09-07 Thread Kevin Rushforth
On Tue, 22 Aug 2023 15:15:29 GMT, Andy Goryachev wrote: >> modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java >> line 172: >> >>> 170: @Test >>> 171: public void testMissingFinalMethods() { >>> 172: for (Class c: allControlClasses()) { >>

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v5]

2023-09-07 Thread Kevin Rushforth
On Tue, 22 Aug 2023 15:34:17 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v4]

2023-08-22 Thread Andy Goryachev
On Tue, 22 Aug 2023 09:13:08 GMT, Nir Lisker wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > line

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v5]

2023-08-22 Thread Andy Goryachev
> In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v4]

2023-08-22 Thread Andy Goryachev
On Tue, 22 Aug 2023 05:51:32 GMT, John Hendrikx wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > li

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v4]

2023-08-22 Thread Nir Lisker
On Mon, 21 Aug 2023 23:11:49 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v4]

2023-08-21 Thread John Hendrikx
On Mon, 21 Aug 2023 23:11:49 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-21 Thread Andy Goryachev
On Mon, 21 Aug 2023 22:16:12 GMT, Nir Lisker wrote: >> Thank you for suggestions! >> >> Frankly, I don't see much value in rewriting of this method. A more >> interesting problem is how to enumerate all descendants of the Control class >> using the package name, in such a way that will relia

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v4]

2023-08-21 Thread Andy Goryachev
> In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-21 Thread Nir Lisker
On Mon, 21 Aug 2023 22:16:50 GMT, Andy Goryachev wrote: >>> these classes (in javafx.scene.control.cell) are public and in the Control >>> hierarchy, so are subject of the 'final' limitation. >> >> I'm confused. Which classes should appear in this list exactly (what are the >> rules to determi

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-21 Thread Andy Goryachev
On Mon, 21 Aug 2023 22:14:28 GMT, Nir Lisker wrote: > Which classes should appear in this list exactly subclasses of javafx.scene.control.Control - PR Review Comment: https://git.openjdk.org/jfx/pull/1213#discussion_r1300705312

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-21 Thread Nir Lisker
On Mon, 21 Aug 2023 15:27:44 GMT, Andy Goryachev wrote: > these classes (in javafx.scene.control.cell) are public and in the Control > hierarchy, so are subject of the 'final' limitation. I'm confused. Which classes should appear in this list exactly (what are the rules to determine that)? >

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-21 Thread Andy Goryachev
On Sun, 20 Aug 2023 06:16:06 GMT, Nir Lisker wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > line

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v3]

2023-08-21 Thread Andy Goryachev
> In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The incrementa

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-21 Thread Andy Goryachev
On Sun, 20 Aug 2023 21:17:18 GMT, Nir Lisker wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > line

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-20 Thread Nir Lisker
On Fri, 18 Aug 2023 22:17:15 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-18 Thread Andy Goryachev
On Fri, 18 Aug 2023 22:53:42 GMT, Kevin Rushforth wrote: > Um, "classpath"? The problem I was referring to is how to enumerate all descendants of Control in javafx.* hierarchy, and I don't have a good solution. So, no change in the unit test is being planned, and all newly developed controls

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-18 Thread Kevin Rushforth
On Fri, 18 Aug 2023 22:17:15 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-18 Thread Andy Goryachev
On Fri, 18 Aug 2023 22:32:58 GMT, Kevin Rushforth wrote: > And thanks for adding a test. I feel the test can be improved by collecting the classes automatically, so as to catch possible issues when new controls are added (it'll be a full classpath scan though). While the scan should be limite

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-18 Thread Kevin Rushforth
On Fri, 18 Aug 2023 22:17:15 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-18 Thread John Hendrikx
On Fri, 18 Aug 2023 22:17:15 GMT, Andy Goryachev wrote: >> In the Control hierarchy, all property accessor methods must be declared >> `final`. >> >> Added a test to check for missing `final` keyword and added the said keyword >> where required. > > Andy Goryachev has updated the pull request

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-18 Thread Andy Goryachev
On Fri, 18 Aug 2023 22:04:11 GMT, John Hendrikx wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > modules/javafx.controls/src/test/java/test/javafx/scene/control/ControlPropertiesTest.java > li

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls [v2]

2023-08-18 Thread Andy Goryachev
> In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:

Re: RFR: 8313651: Add 'final' keyword to public property methods in controls

2023-08-18 Thread John Hendrikx
On Thu, 17 Aug 2023 23:07:14 GMT, Andy Goryachev wrote: > In the Control hierarchy, all property accessor methods must be declared > `final`. > > Added a test to check for missing `final` keyword and added the said keyword > where required. Marked as reviewed by jhendrikx (Committer). module