Typos in JLS version 16
Alex Buckley
alex.buckley at oracle.com
Mon Dec 20 21:00:22 UTC 2021
Yes, 16 should be 17 and "a identifier" should be "an identifier", thank
you.
For Example 8.3-1, "Multiply" (the adjective, not the verb) is correct.
It's not just that there are multiple fields being inherited, it's that
"the same field" is inherited multiple times. See also Example 9.3-2.
Alex
On 8/11/2021 7:01 AM, Sam Hooper wrote:
> Hi,
>
> I noticed a few typos when reading version 16 of the JLS
> <https://docs.oracle.com/javase/specs/jls/se16/html/index.html>. Here they
> are:
>
> - In 6.5.1
> <https://docs.oracle.com/javase/specs/jls/se16/html/jls-6.html#jls-6.5.1>,
> in the non-normative box, "The extraction of a TypeName from the
> identifiers of a ReferenceType in the *16* contexts above" should say
> *17* contexts.
> - In Example 8.3-1
> <https://docs.oracle.com/javase/specs/jls/se16/html/jls-8.html#d5e13591>,
> instead of "Multipl*y* Inherited Fields," I believe the title should
> say "Multipl*e* Inherited Fields."
> - In 7.2
> <https://docs.oracle.com/javase/specs/jls/se16/html/jls-7.html#jls-7.2>,
> in the last sentence of the example/non-normative box, instead of "in *a*
> identifier" it should say "in *an* identifier."
>
> Thanks for your time.
>
> Sam Hooper
> 214-477-4343
More information about the jls-jvms-spec-comments
mailing list