• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bug in client side EOF locking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in client side EOF locking?


  • Subject: Re: Bug in client side EOF locking?
  • From: Stamenkovic Florijan <email@hidden>
  • Date: Wed, 28 Jan 2009 11:54:11 -0400

On Jan 28, 2009, at 11:10, Stamenkovic Florijan wrote:

Also, when I look at the source of ReentrantLock, I see that this exception is thrown because of:

if (Thread.currentThread() != owner)
               throw new IllegalMonitorStateException();

So, the thread trying to unlock does not actually own the lock, the other thread owns it. AFAIK the only way to make this happen is calling unlock, without the same thread obtaining a lock before that. Which is most definitively a bug. Or do I see this wrong?

Or calling unlock() more times then lock() was called....

F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Bug in client side EOF locking? (From: Stamenkovic Florijan <email@hidden>)
 >Re: Bug in client side EOF locking? (From: Chuck Hill <email@hidden>)
 >Re: Bug in client side EOF locking? (From: Stamenkovic Florijan <email@hidden>)

  • Prev by Date: Useful add-on to FireBug - FireScope
  • Next by Date: Superfluous Session Creation
  • Previous by thread: Re: Bug in client side EOF locking?
  • Next by thread: Re: Bug in client side EOF locking?
  • Index(es):
    • Date
    • Thread