.

Core Java for the Impatient

Bug Report Page

Section 1.4.4
Change “f is actually 1.23456792E8” to “f is actually 1.2345679E8F”.
Section 3.2.4
Change
    
static of(int a)
static of(int a, int b)
static of(int a, int b, int c)
to
Section 3.4 Code
In LambdaDemo, change
var enemies = new ArrayList<String>(List.of("Malfoy", "Crabbe", "Goyle", null));
to
var enemies = new ArrayList<String>(List.of("Malfoy", "Crabbe", "Goyle"));
enemies.add(null);
Section 4.3.4
Change “and hashCode it is also rarely necessary. ” to “and it is also rarely necessary. ”
Section 7.1
Remove the arrow from Iterable to Iterator.
Section 13.6
Change
String message = MessageFormat("It is now {0,time,short}.", Date.from(Instant.now()));
to
String message = MessageFormat.format("It is now {0,time,short}.", Date.from(Instant.now()));
Section 9.4.1
In the TIP, change Parse.quote to Pattern.quote

Thanks to Bruno Bravo, Alessio Del Monte, J. Kenny, Piotr Lesiakowski, Sen Turra, 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:

Section number:

Problem description:

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