Typo in JLS 8 Section 5.2

Alex Buckley alex.buckley at oracle.com
Wed Jun 22 23:28:24 UTC 2016


Yes, thanks.

On 6/5/2016 11:26 AM, Hiram Hunt wrote:
> Hello,
>
> In the Java Language Specification (Java SE 8 Edition)
> in section 5.2 (Assignment Contexts) on page 112 of my
> printed copy but page 114 of the current online .pdf
> version there is a typo.  In the last bulleted item of
> the explanation of Example 5.2-3 it says
>
>      "because not every reference that could be the value
>       of an expression of type ColoredPoint can correctly
>       be the value of a variable of type Point."
>
> Here, "Point" and "ColoredPoint" are swapped.
>
> -- Hiram Hunt (hiramhunt at verizon.net)
>


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