On 17/05/2018 9:24 PM, Claes Redestad wrote:
On 2018-05-17 13:15, David Holmes wrote:
diff -r de35abdfe5da src/java.base/share/classes/java/lang/Integer.java
--- a/src/java.base/share/classes/java/lang/Integer.java Mon May 14
16:21:08 2018 +0200
+++ b/src/java.base/share/classes/java/lang/Integer.java Thu May 17
12:44:53 2018 +0200
@@ -1621,12 +1621,12 @@
// HD, Figure 5-6
The code no longer maps to that from HD so the comment would need fixing.
Seems that's a pre-existing issue, but yes.
The comment is correct for the first edition of the book. It's 5-11 in
the second edition. :)
David
/Claes