Record canonical constructor is required to be public

John Rose john.r.rose at oracle.com
Sat Nov 9 18:27:31 UTC 2019


On Nov 9, 2019, at 6:59 AM, Tagir Valeev <amaembo at gmail.com> wrote:
> 
> Probably specifying that
> canonical constructor visibility is the same as record visibility
> would be good.

+1 to that suggestion, although I admit I don’t know the full set
of design considerations.  It’s coherent with some basic rules
that already align constructor and class access.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20191109/2f7ed9e9/attachment-0001.html>


More information about the amber-spec-experts mailing list