[sealed] Draft Language Spec available
amaembo at gmail.com
Mon Mar 2 04:57:47 UTC 2020
Shouldn't we update a section 9.8 Functional Interfaces? E.g.:
A functional interface is an interface that [is not declared as sealed
and] has just one abstract method (aside from the methods of Object),
and thus represents a single function contract.
This will also imply that the @FunctionalInterface annotation cannot
be applicable to sealed interfaces (22.214.171.124).
With best regards,
On Fri, Feb 28, 2020 at 7:25 PM Gavin Bierman <gavin.bierman at oracle.com> wrote:
> The next draft language spec for JEP 360 (Sealed Types) is available at:
> This version reflects the changes to the type system I mentioned , along with a number of other changes. We’d appreciate further comments on this in particular (along with anything else).
>  https://mail.openjdk.java.net/pipermail/amber-spec-experts/2020-February/002018.html
More information about the amber-spec-experts