We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P1.0, released 7 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
37

#34320: According to the context and subsequent
examples etc.

def access(location,weight,fragile)

should be

def access(weight,location,fragile)

--will krespan

P1.0
02-Sep-08
37

#33944: Last paragraph of the page reads: "it leads to a problems, such as when..."

"a problems" is not correct.--Ethan M

P1.0
12-Aug-08
41
#31635: In comparing Java code to Groovy you use the evocative example of the sword-fight scene from Raiders of the Lost Ark. However your reference ...more...
P1.0
09-Apr-08
49

#31961: "leads to a problems" should read, "leads to problems"

P1.0
10-May-08
66

#31724: "Generics.java:10: cannot find symbol" needs to be "Generics.java:11: cannot find symbol" since line 11 is passing a String to the List.
--Fabian Topfstedt

P1.0
25-Apr-08
76

#34669: The text says "BigNumber" instead of "BigDecimal" in the 2nd paragraph (not that I don't wish my raise was a BigNumber...)--Alan Thompson

P1.0
29-Sep-08
80
#31662: Section 4.4: They allow us to agree upon a certain expectations to be fulfilled. should read They allow us to agree upon certain expecta...more...
P1.0
14-Apr-08
89

#35381: 2nd paragraph: "So, the compiler treats the instance of BigNumber as Number."

BigNumber should be BigDecimal.

P1.0
21-Oct-08
109

#31499: Missing: fix reference to figure here--David Potts

B2.0
28-Mar-08
121

#31676: The page ends with

...elegant cousin of '\\d*\\w*"

That should be

...elegant cousin of '\\d*\\w*'

--Srivaths Sankaran

P1.0
16-Apr-08
129
#32254: "Here's an example: friends refers to a map" Friends is a list, not a map. Also, the short names in the list definition (e.g. briang) are...more...
P1.0
03-Jun-08
162
#32015: The code: langs = ['C++' : 'Stroustrup' , 'Java' : 'Gosling' , 'Lisp' : 'McCarthy' ] xmlDocument = new groovy.xml.StreamingMarkupBuilder().b...more...
P1.0
15-May-08
202
#32394: 4th paragraph, 1st sentence: "...the names of methods you want to add to one more more classes." The word "more" is repeated twice. I'm guess...more...
P1.0
15-Jun-08
203
#31500: Missing: Please make the sect2’s in this chapter appear in table of contents—I don’t know how to do that, but I think these section titles ar...more...
B2.0
28-Mar-08
203 218
#33091: I suggest discussing propertyMissing. I tried using method injection based on chapter 14 for a property and wondered why I was not seeing setX...more...
P1.0
21-Jul-08
211

#31520: Integer.metaClass.static.isEven should be
Integer.metaClass.'static'.isEven--Tim Orr

B2.0
28-Mar-08
214

#31521: System.out.println at bottom of page where the more consistent println could be used

same issue pages 216-221--Tim Orr

B2.0
28-Mar-08
274

#31501: Missing: fix the following xref--David Potts

B2.0
28-Mar-08
286

#31502: Missing: fix the following xref--David Potts

B2.0
28-Mar-08