Core Java SE 9 for the Impatient

Bug Report Page

.

How to Tell which Printing You Have

On the bottom of the copyright page (facing the first page of the table of contents), look for a line such as

1 17

The first number (1 in this example) is the printing number.

In the errata below, we indicate the printing in which the error has been fixed inside square brackets such as [4].

For example, suppose you have the fourth printing. Then you can ignore all reports that are prefixed with [2], [3] or [4]. But you would want to pay attention to all reports that are prefixed with [5] or higher or that have no bracketed prefix at all.

Page 204
Change “If input fails when using a Scanner, the Scanner class catches the input exception and closes the resource from which it consumes input. What happens if closing the resource throws an exception? How does this implementation interact with the handling of suppressed exceptions in the try-with-resources statement?” to “If input fails when using a Scanner, the Scanner class catches the exception and stops reading from the input source. What happens when the scanner is closed, and closing the input source throws an exception? Compare this behavior with the handling of suppressed exceptions in the try-with-resources statement.”
Page 115
Change
int difference = first.length() < second.length();
to
int difference = first.length() - second.length();
Page 410
Change ZoneId.getAvailableIds() to ZoneId.getAvailableZoneIds()

Thanks to Chee Cheng, Lipi C.H. Lee and (your name might go here) for their bug reports and suggestions!

Bug Report Form

Please use this form to report any bugs that you find. Please check the list of known bugs first before you report a bug. Unfortunately, I do not have the time to respond personally to every report, but I do read them all and will post updates to this page. Thank you!

Your name:

Your email address:

Edition:

Page number:

Problem description:

To protect against spam robots, please answer this simple math problem:
* =