> 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

Reply via email to