font.encoding
should be file.encoding
. Furthermore,
for (int i = Character.MIN_VALUE; i < Character.MAX_VALUE; i++) {
should be
for (int i = Character.MIN_VALUE; i <= Character.MAX_VALUE; i++) {
That is, the less than should be a less-than-or-equal-to. A corrected version is available online.
p. 429: In the first code fragment
catch (IOexception e) {System.err.println(e);}
should be
catch (IOException e) { System.err.println(e); }
p. 431: In Example 15-4, font.encoding
should be file.encoding
. A corrected version is available online.
pp. 440-442: The SourceReader program has several bugs. A corrected version is available online.