Java Cookbook, 2nd Edition by Ian F. Darwin This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was updated October 15, 2004. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: (3) http://www.japhar.org should be: http://www.hungry.com/old-hungry/products/japhar/ (118) http://lavarand.sgi.com should be: http:// www.lavarand.org (should probably tweak the footnote, because this is a replacement for the older SGI lavarand). {155} 6.1 footnote; "Date's getTime() returns the time in seconds" -> should be: milliseconds. (273) code in middle of the page; PrintWriter toSwedish = new PrinterWriter( should be: PrintWriter toSwedish = new PrintWriter( {586} source code, after //Enable logging; The Listing uses DriverManager.setLogStream(), which is deprecated. it should be: DriverManager.setLogWriter(new PrintWriter(System.err)); (702) Code following 1st paragraph; In the code fragment there is both a variable called "theLock" and "lock". The Lock variable in the try and finally blocks should be renamed to "theLock" or in the declaration of the Lock variable the name should be changed to "lock".