This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

errors in locking code in Trottiers book

 
joel smither
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I'm been reading Trottier's book "Java 2 Developer - Exam Cram 2".
I've stumbled across some links on the net that state that there are some errors in his locking code (specifically in his implementation of the LockManager) class.


Can anybody be more specific about what those errors are so I can correct the mistakes. I've been unable to find a web-site that has any corrections.

Thanks in advance.
 
peter wooster
Ranch Hand
Posts: 1033
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by joel smither:
Hi all, I'm been reading Trottier's book "Java 2 Developer - Exam Cram 2".
I've stumbled across some links on the net that state that there are some errors in his locking code (specifically in his implementation of the LockManager) class.


Can anybody be more specific about what those errors are so I can correct the mistakes. I've been unable to find a web-site that has any corrections.

Thanks in advance.


The problems with Alain's locking code are described in the replies from Andrew in this thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic