Errata
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.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By |
|---|---|---|---|
| Printed | Page 30 2nd paragraph |
The paragraph can easily be (mis)understood as stating that in Example 4 calling the interrupt() method results in the interrupted status being set, even if the thread is blocked by the sleep() method. However, according to the Thread API, the interrupted status is cleared when the sleep() method throws an InterruptedException. |
Anonymous |
| Printed | Page 30 bottom paragraph |
"The character-reading thread still executes the sleep() method, which won't be interrupted (since the main thread has already completed the interrupt() method)". |
Anonymous |
| Printed | Page 36 middle |
While the text states that the method interrupted() simply returns the value of Thread.currentThread().isInterrupted(), the Java API for the Thread class adds that this method also clears the interrupted status. |
Anonymous |
| Printed | Page 47 3rd paragraph |
"implemenation" should be "implementation" |
Anonymous |
| Printed | Page 62 newCharacter method |
2nd paragraph of p65 says, "in the same order as the newCharacter". |
Anonymous |
| Printed | Page 85 4th paragraph from the bottom |
The lines |
Anonymous |
| Printed | Page 86 First paragraph |
Prior to Java 1.5, the double-checked locking idiom in Java was broken as the author indicated in this paragraph. |
Anonymous |
| Printed | Page 86 4th para |
"treatement" should be treatment. |
Anonymous |
| Printed | Page 173 4th paragraph |
"to the executing state" should be "to the exiting state". |
Anonymous |
| Printed | Page 196 2nd code segment |
public <V> call( ) throws Execption; |
Anonymous |
| Printed | Page 228 first full para |
"simulataneous" should be "simultaneous" |
Anonymous |
| Printed | Page 231 last para |
"accomodate" should be "accommodate" |
Anonymous |
| Printed | Page 239 bottom half, handleClient method |
The SocketChannel sc is nonblocking as it is created in the handleServer method on |
Anonymous |
