Typos in Java spec

Gavin Bierman gavin.bierman at oracle.com
Mon Nov 25 16:15:30 UTC 2024


Thank you! We’ll make those corrections in the next editions of the JLS/JVMS.

Gavin

> On 11 Jan 2023, at 13:39, 胡亚捷 (Hu Yajie) <2500418497 at qq.com> wrote:
> 
> Hi. I'd like to report that the latest Java spec contains the following
> opening parentheses that are not closed.
> 
> [JLS]
> 
> Section 8.7, third paragraph from last:
>    A static initializer introduces a static context (§8.1.3
> 
> Section 15.8.3, last paragraph:
>    At run time, the class of the actual object referred to may be C or
>    a subclass of C (§8.1.5.
> 
> [JVMS]
> 
> Section 4.7.27, first paragraph:
>    The ModuleMainClass attribute is a fixed-length attribute in the
>    attributes table of a ClassFile structure (§4.1.



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