Java 9 Modularity

Errata for Java 9 Modularity

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Page 92
Code snippet

The java cli option is singular, --describe-module

Note from the Author or Editor:
Thanks for reporting, that's indeed a typo that slipped into the example.

Charles Muchene  Jan 07, 2019 
Page 127
1st code spinet

this line:

module.addExports("javamodularity.export.atruntime", target);

should it be

module.addExports("javamodularity.export.runtime", target);



JJ Sun  May 28, 2017 
Page 143
3rd paragraph)

I think 'be' is missing in this line:

"All modules in the plugin layer will [be] defined with the same (fresh) classloader"


Note from the Author or Editor:
Fixed, thanks!

JJ.Sun  May 30, 2017 
Page 159
3rd paragraph

'Turn of' should be 'turned off' in this sentence:

"A temporary --permit-illegal-access switch is available to turn of all illegal access checks,"

Note from the Author or Editor:
Fixed, thanks!

JJ.Sun  Jun 07, 2017 
Printed, PDF, ePub
Page 174
Top of page

The text says that automatic modules 'require transitive' all other resolved modules. However, they 'require' all other modules, but 'require transitive' only the other automatic modules. This is explained at in step 2.

Note from the Author or Editor:
Change "requires transitive all other resolved modules" to "requires transitive all other automatic modules".

Matthew Halverson  Oct 07, 2017 
Page 178
1st paragraph

'packages' should be 'package' in this sentence:

"An open packages gives run-time access to its types to any module, but no compile time access"

Note from the Author or Editor:
Fixed, thanks!

JJ.Sun  Jun 07, 2017