Error in JLS for module-info.class

Luke Hutchison luke.hutch at
Sat Oct 20 00:45:35 UTC 2018

Ah, thanks for clarifying, I missed those exceptions.

On Fri, Oct 19, 2018 at 5:53 PM Alex Buckley <alex.buckley at>

> On 10/19/2018 4:09 PM, Luke Hutchison wrote:
> > In JLS section 4.1 ("The ClassFile structure") for SE 11, it states:
> You mean JVMS, not JLS. See the text under Table 4.1-B: "The ACC_MODULE
> flag indicates that this class file defines a module, not a class or
> interface. If the ACC_MODULE flag is set, then special rules apply to
> the class file which are given at the end of this section. If the
> ACC_MODULE flag is not set, then the rules immediately below the current
> paragraph apply to the class file."
> The rules at the end of the section mandate that super_class is zero for
> an ACC_MODULE class file.
> Alex

More information about the jigsaw-dev mailing list