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

Reply via email to