[sealed] Sealed local classes?

Remi Forax forax at univ-mlv.fr
Wed Oct 9 22:13:40 UTC 2019

I agree, PermittedSubtypes should only contain stable names :)


----- Mail original -----
> De: "Brian Goetz" <brian.goetz at oracle.com>
> À: "amber-spec-experts" <amber-spec-experts at openjdk.java.net>
> Envoyé: Mercredi 9 Octobre 2019 23:35:48
> Objet: Re: [sealed] Sealed local classes?

>> Proposal: ban `sealed` and `non-sealed` modifiers on _local_ classes
>> and interfaces.
> And we would want to extend the ban we have for the other two forms of
> "subclasses inside implementations", lambdas and inner classes, to local
> classes.

More information about the amber-spec-experts mailing list