Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inaccurate active session count in JavaMonitor (Solved)



Yeap, exception found.

lockManager.unlock() throws IllegalStateException when lock count is zero. When the lock count is > 1, MultiEC lock manager is happier to unlock all ECs, but not when lock count=0. Try to relate why the lock count=0 is handled by exception. Is it acting like an insurance to alert the users that probably error occur when multi-ECs has registered (and assumed locked), but when no lock is found when called unlock(). Should it or not throwing exception when lock count = 0?

Great thanks, Chuck and it clears doubt on my bad coding.

Cheers

Cheong Hee




_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/email@hidden

This email sent to email@hidden
References: 
 >Re: Inaccurate active session count in JavaMonitor (From: "Cheong Hee (Gmail)" <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (From: Chuck Hill <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (From: "Cheong Hee (Gmail)" <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (From: Chuck Hill <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.