> On 2 Nov 2019, at 10:21, Florian Weimer <f...@deneb.enyo.de> wrote: > > * Gavin Bierman: > >> An updated draft language spec for JEP 359 (Records) is available at: >> >> http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191031/specs/records-jls.html >> <http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191031/specs/records-jls.html> > > Is it allowed to declare a canonical constructor explicitly and make > it non-public? I think the naswer is no. But it's not quite obvious > from the spec, I think. As Brian has said, no it is not possible. I will take another look at the spec to see if I can make this clearer. Thanks, Gavin
- Re: Updated Draft specs for JEP 359 (Reco... Maurizio Cimadamore
- Re: Updated Draft specs for JEP 359 (... Chris Hegarty
- Re: Updated Draft specs for JEP ... Chris Hegarty
- Re: Updated Draft specs for JEP 359 (Records) Chris Hegarty
- Re: Updated Draft specs for JEP 359 (Records) Gavin Bierman
- Re: Updated Draft specs for JEP 359 (Records) Remi Forax
- Re: Updated Draft specs for JEP 359 (Records) Vicente Romero
- Re: Updated Draft specs for JEP 359 (Records) Alex Buckley
- Re: Updated Draft specs for JEP 359 (Records) Alex Buckley
- Re: Updated Draft specs for JEP 359 (Records) Gavin Bierman
- Re: Updated Draft specs for JEP 359 (Records) Alex Buckley
- Re: Updated Draft specs for JEP 359 (Records) Dan Smith
- Re: Updated Draft specs for JEP 359 (Records) Alex Buckley
- Re: Updated Draft specs for JEP 359 (Records) Gavin Bierman
- Re: Updated Draft specs for JEP 359 (Records) Maurizio Cimadamore
- Re: Updated Draft specs for JEP 359 (Records) Alex Buckley
- Re: Updated Draft specs for JEP 359 (Records) Gavin Bierman
- Re: Updated Draft specs for JEP 359 (Records) Brian Goetz
- Re: Updated Draft specs for JEP 359 (Reco... Maurizio Cimadamore