Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v5]

2020-08-27 Thread Nir Lisker
On Wed, 26 Aug 2020 15:46:46 GMT, Bhawesh Choudhary wrote: >> Added missing explicit no-arg constructors to classes in package >> javafx.scene, javafx.css and javafx.stage. > > Bhawesh Choudhary has updated the pull request incrementally with one > additional commit since the last revision: >

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v5]

2020-08-26 Thread Kevin Rushforth
On Wed, 26 Aug 2020 17:22:36 GMT, Kevin Rushforth wrote: >> Bhawesh Choudhary has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Updated comments as per JDK Convention > > Looks good. I also verified that the only two class without an expli

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v5]

2020-08-26 Thread Kevin Rushforth
On Wed, 26 Aug 2020 15:46:46 GMT, Bhawesh Choudhary wrote: >> Added missing explicit no-arg constructors to classes in package >> javafx.scene, javafx.css and javafx.stage. > > Bhawesh Choudhary has updated the pull request incrementally with one > additional commit since the last revision: >

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v5]

2020-08-26 Thread Bhawesh Choudhary
> Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision: Updated comments as per JDK Convention - Changes: -

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v4]

2020-08-26 Thread Kevin Rushforth
On Wed, 26 Aug 2020 15:21:48 GMT, Bhawesh Choudhary wrote: >> Added missing explicit no-arg constructors to classes in package >> javafx.scene, javafx.css and javafx.stage. > > Bhawesh Choudhary has updated the pull request incrementally with one > additional commit since the last revision: >

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v4]

2020-08-26 Thread Kevin Rushforth
On Tue, 25 Aug 2020 09:42:16 GMT, Nir Lisker wrote: > Since it will require an additional cleanup issue anyway, I don't think it > matters when we do it, but since we're here > I see no reason not to start already. Agreed. Let's adopt the same language as the JDK. If there are configurable par

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v4]

2020-08-26 Thread Bhawesh Choudhary
> Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision: Updated comments as per JDK convention - Changes: -

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v3]

2020-08-25 Thread Bhawesh Choudhary
> Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision: Reverted changes for class Selector and ShapeConverter as per review

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v2]

2020-08-25 Thread Nir Lisker
On Wed, 19 Aug 2020 00:12:01 GMT, Kevin Rushforth wrote: > I think that two of the classes have implicit constructors that are there by > accident. Once we get agreement, I'll file > a follow-on bug for those, and those changes should be reverted. I finished reviewing the rest of the classes an

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v2]

2020-08-25 Thread Nir Lisker
On Tue, 18 Aug 2020 23:41:23 GMT, Kevin Rushforth wrote: >> modules/javafx.graphics/src/main/java/javafx/application/Preloader.java line >> 121: >> >>> 120: public Preloader() { >>> 121: } >>> 122: >> >> Not sure that "default" means anything here. I don't see any configuration. > > Ri

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v2]

2020-08-25 Thread Nir Lisker
On Tue, 18 Aug 2020 23:47:07 GMT, Kevin Rushforth wrote: >> modules/javafx.graphics/src/main/java/javafx/css/PseudoClass.java line 83: >> >>> 82: >>> 83: /** >>> 84: * There is only one PseudoClass instance for a given pseudoClass. >> >> 1. Is having a public constructor for this class

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v2]

2020-08-25 Thread Nir Lisker
On Tue, 18 Aug 2020 23:31:42 GMT, Kevin Rushforth wrote: >> modules/javafx.controls/src/main/java/javafx/scene/control/TableFocusModel.java >> line 51: >> >>> 50: >>> 51: /** >>> 52: * Causes the item at the given index to receive the focus. >> >> Please add a missing `)` for the clas

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v2]

2020-08-25 Thread Nir Lisker
On Wed, 19 Aug 2020 00:12:01 GMT, Kevin Rushforth wrote: >> Bhawesh Choudhary has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Marked few class constructor as deprecated as per review > > I think that two of the classes have implicit cons

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors [v2]

2020-08-24 Thread Bhawesh Choudhary
> Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision: Marked few class constructor as deprecated as per review --

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors

2020-08-18 Thread Kevin Rushforth
On Mon, 17 Aug 2020 12:31:14 GMT, Nir Lisker wrote: >> Added missing explicit no-arg constructors to classes in package >> javafx.scene, javafx.css and javafx.stage. > > modules/javafx.controls/src/main/java/javafx/scene/control/TableFocusModel.java > line 51: > >> 50: >> 51: /** >> 52:

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors

2020-08-18 Thread Kevin Rushforth
On Mon, 17 Aug 2020 11:16:55 GMT, Bhawesh Choudhary wrote: > Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. I think that two of the classes have implicit constructors that are there by accident. Once we get agreement, I'll file a

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors

2020-08-18 Thread Kevin Rushforth
On Tue, 18 Aug 2020 17:49:06 GMT, Nir Lisker wrote: > The classes should be inspected to see if one is needed and if its doc is > suitable. This is an excellent point. One of the main reasons for not relying on implicit, no-arg constructors is that you might get a public constructor where one

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors

2020-08-18 Thread Kevin Rushforth
On Mon, 17 Aug 2020 11:16:55 GMT, Bhawesh Choudhary wrote: > Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. @nlisker raises some good issues, so they should be addressed - Changes requested by kcr (Lead). PR: https:/

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors

2020-08-18 Thread Nir Lisker
On Mon, 17 Aug 2020 11:16:55 GMT, Bhawesh Choudhary wrote: > Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. I've completed a partial review. I think that just mechanically adding a constructor with the same doc everywhere is not a

Re: RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors

2020-08-17 Thread Kevin Rushforth
On Mon, 17 Aug 2020 11:16:55 GMT, Bhawesh Choudhary wrote: > Added missing explicit no-arg constructors to classes in package > javafx.scene, javafx.css and javafx.stage. Marked as reviewed by kcr (Lead). - PR: https://git.openjdk.java.net/jfx/pull/283

RFR: 8251353: Many javafx scenegraph classes have implicit no-arg constructors

2020-08-17 Thread Bhawesh Choudhary
Added missing explicit no-arg constructors to classes in package javafx.scene, javafx.css and javafx.stage. - Commit messages: - 8251353: Many javafx scenegraph classes have implicit no-arg constructors Changes: https://git.openjdk.java.net/jfx/pull/283/files Webrev: https://webre