This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Misprint in Andrw Watch "Misprint in Andrw New topic
Author

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 code...it 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: http://aspose.com/file-tools
 
subject: Misprint in Andrw's Book
 
Similar Threads
Thread synchronization
Avoiding deadlock situations in java
Wait question from K&B threads chapter
mistake in andrew's book
wait() releases all locks?