Small unclarity in JVMS re absence of ACC_INTERFACE
    Markus Keller 
    markus_keller at ch.ibm.com
       
    Mon Jul 10 18:14:41 UTC 2017
    
    
  
http://cr.openjdk.java.net/~mr/jigsaw/spec/java-se-9-jvms-pr-diffs.pdf 
dated 2017-06-26
4.1, page 73:
> [Last entry of the table:]
> ACC_MODULE    0x8000    Is a module, not a class or interface.
>
> An interface is distinguished by the ACC_INTERFACE flag being set. If 
the
> ACC_INTERFACE flag is not set, this class file defines a class, not an 
interface.
That last sentence on page 73 contradicts the table and the new paragraph 
on page 74.
Proposed fix for that sentence:
If neither of the ACC_INTERFACE or ACC_MODULE flags are set, this class 
file defines a class.
Regards,
Markus
    
    
More information about the jpms-spec-comments
mailing list