Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.342 :

Posted: Wed Feb 29, 2012 7:43 am
by ETS User
Thread T1 releases the lock on obj and calls the notify() method on obj.
I disagree. I believe you need the lock to call notify, so notify should be called first and then the lock can be released. Am I correct?

Re: About Question com.enthuware.ets.scjp.v6.2.342 :

Posted: Wed Feb 29, 2012 7:49 am
by admin
You are right. The wording of the option and the explanation has now been updated.

thank you for your feedback!