Loosening requirements for super() invocation
Archie Cobbs
archie.cobbs at gmail.com
Sat Jan 28 15:50:42 UTC 2023
Brian Goetz <brian.goetz at oracle.com> wrote:
> Good catch on "can't have a return"; the precise way to state this is
> "statements that can complete abruptly for reasons X, Y and Z" (see JLS
> 14.1).
>
> The static context applies not only to the BlockStatements prior, but also
> the ExplicitCtorInvocation.
>
Thanks! These fixes are included now.
Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
> I’d say just add three sections with one example each and call it a day.
>
Sounds reasonable - done.
-Archie
--
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20230128/703755dd/attachment.htm>
More information about the amber-dev
mailing list