Local classes and static members?

Archie Cobbs archie.cobbs at gmail.com
Fri Jun 14 20:52:29 UTC 2024


Dumb question...

Where is it specified in the JLS that a (normal) local class cannot have
static members? I don't see it in §14.3
<https://docs.oracle.com/javase/specs/jls/se22/html/jls-14.html#jls-14.3>.

Thanks.

-- 
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-experts/attachments/20240614/273819d2/attachment.htm>


More information about the amber-spec-experts mailing list