Errata
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 Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Printed | Page 21 1st code example + penultimate normal paragraph |
The code example |
Anonymous | |
Printed | Page 26 4th pargraph (1st paragraph after figure2-10) |
description of compareTo()'s behavior is incorrect. |
Anonymous | |
Printed | Page 93 Class ServerSocketChannel |
method accept() returns SocketChannel, not ServerChannel. |
Anonymous | |
Printed | Page 93 Class SocketChannel |
Both open() methods return SocketChannel, not ServerSocketChannel. |
Anonymous | |
Printed | Page 96 API of ServerSocketChannel |
The return type of accept() should be SocketChannel. |
Anonymous | |
Printed | Page 140-141 Listing Sample (4-1) |
the sample code references a non instantiated "buffer" object |
Anonymous | |
Printed | Page 141 sayHello() method |
in registerChannel() method, if( channel == null ) was checked. Samething could |
Anonymous | |
Printed | Page 160 Table 5-2 |
the column regex="d" is incorrect from row limit=5 through row limit=0 |
Anonymous | |
Printed | Page 192 Figure 6-1 |
The last byte of the encoding should be 3F instead of 37 |
Anonymous | May 04, 2010 |
Printed | Page 208 2nd Paragraph and CoderResult API |
The text and the API state that CoderResult uses the type-safe enumeration pattern. |
Anonymous | |
Other Digital Version | 213 Implementation of decodeChannel() function |
In example implementation of decodeChannel() function, when CoderResult.UNDERFLOW result is processed function clear() is called on bb object. However in case of underflow compact() function should be actually called, as there might be still unprocessed input bytes in input buffer. |
Anonymous | Mar 09, 2009 |
Printed | Page 228 1st paragraph after Example 6-4 |
The name of the file starts with directory "META_INF". |
Anonymous | Apr 11, 2010 |