JLS typo section 7.4.1

Hiram Hunt hiramhunt at verizon.net
Sun Jun 12 22:19:26 UTC 2016


Hello,
    In section 7.4.1 (Named Packages) of the
Java Language Specification (Java 8 SE Edition)
there is a typo.  In the first paragraph of the
small-font explanatory text there are several
occurrences of "package-info.java".  One of
these refers to the name of a hypothetical,
but illegal, class and should be "package-info"
without the ".java".  The JLS says

     "This file does not contain the source for
a class called packageinfo.java; ...."

-- Hiram Hunt (hiramhunt at verizon.net)


More information about the jls-jvms-spec-comments mailing list