Corrections to Chapter 5 of Java Network Programming, Threads

p. 121: A period is missing between the third and fourth sentences of the last paragraph. It should read:

Most of the time, however, you'll want to pass the information to other parts of the program. You can store the result of the calculation in a field and provide a getter method to return the value of that field.

p. 133: In the first paragraph, change "Notice the addition of a start() method" to "Notice the addition of the calculateDigest() method to start the thread."

p. 151: All three versions of the join() method including the noargs variant can throw an InterruptedException. Thus the first method signature on the page should be:

public final void join() throws InterruptedException

p. 159: In line 6 of the first paragraph of the Thread Pools section, "for a even a low-" should be "for even a low".
[ Java Network Programming Corrections | Java Network Programming Home Page | Table of Contents | Examples | Order from Amazon ] ]

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified December 12, 2000