aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Misprint in Andrw's Book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Misprint in Andrw Watch "Misprint in Andrw New topic

Misprint in Andrw's Book

Animesh Saxena
Ranch Hand

Joined: Jan 15, 2006
Posts: 62
I just noticed a small mistake in Andrew's book. On page 99 in threading chapter. (Deadlock Example)

in synchronized should be synchronized(lockA)
similarly synchronized(lockB)
if I am wrong please let me know!???

Animesh Saxena<br /> <br />Open Source Developer
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Good catch! But it's already on theCorrections Page on the Apress site.
[ April 01, 2006: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
It is sorta covered in the JavaRanch Style Guide.
subject: Misprint in Andrw's Book