File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: Misprint in Andrw's Book
It's not a secret anymore!