Entry "1.5 Your first module" is misnumbered. It's not its own section, but a subsection of 1.4. Accordingly, subsections "The module system in action" and "Your non-modular project will be fine—mostly" also belong to 1.4 and sections 1.6/1.7 should be numbered 1.5/1.6.
This error is not confined to the table of contents - the sections themselves are also misnumbered (they line up with the table of contents). See "Chapter 1 - Sections 1.5 to 1.7, pages 21 to 30" for details.
Entry "6.3 Getting by without URLClassLoader" is misnumbered. It's not its own section, but a subsection of 6.2. Accordingly, the subsection "Finding troublesome casts" also belongs to 6.2 and sections 6.4/6.5/6.6 should be numbered 6.3/6.4/6.5.
This error only extends to the table of contents itself - the sections later in the book and all references to them are numbered correctly.
Starting with section 1.5 "Your first module," which should be subsection 1.4.2, sections are misnumbered. This error is also present in the table of contents (see above), but references are correct in the sense that they refer to the intended section numbers. That means a textual reference to, for example, section 1.5 refers to "Goals of the module system," not "Your first module."
Here's the full list of intended/referenced vs printed section numbers:
|Your first module||1.4.2||1.5|
|The module system in action||1.4.3||1.5.1|
|Your non-modular project will be fine—mostly||1.4.4||1.5.2|
|Goals of the module system||1.5||1.6|
|Skills, old and new||1.6||1.7|
The paragraph starting with "Looks like" mentions a package
com.example.xml. That should be
The listing following "With that in our toolbox, the caller's module is at our fingertips" is almost indistinguishable from the same snippet on the preceding page. The line
return getCallerClass() should be annotated to point out that it changed.