by
If you find an error in the book, please check this list first to see if it is already known. If not, please mail us the relevant information, including page numbers. All errata will be fixed in the next possible printing.
This page contains all the technical errata in the book -- those things that are wrong or lead you astray. If you have found a minor error, such as a typo or grammatical error, please check the minor errors list before you email us about it.
The Java Virtual Machine Specification, section 2.2, should replace the use of deprecated methods with their non-deprecated replacements. Specifically:
Character.isJavaLetter is replaced by Character.isJavaIdentifierStart and Character.isJavaLetterOrDigit is replaced by Character.isJavaIdentifierPart.
Readers should refer to the on-line documentation of these functions for an accurate description of their functionality.
class File FormatThe description of the attributes table of the ClassFile structure, given in section 4.1, states that the only attributes defined by the specification as appearing in that table are the SourceFile and Deprecated attributes. The statement is incorrect. In addition to those attributes, the InnerClasses and Synthetic attributes are also defined by the specification (in sections 4.7.5 and 4.7.6) as appearing in the attributes table of the ClassFile structure.
The descriptions of the results of the fmul and dmul instructions omit the case where positive or negative infinities of the appropriate types are multiplied. The fourth bullet of these instruction descriptions should read:
In the description of the invokestatic instruction on page 288, the second paragraph refers to the resolved field. It should refer to the resolved method