Page 1 of 1

About Question enthuware.ocpjp.v8.2.1104 :

Posted: Thu May 05, 2016 11:40 am
by mtrikannad
The syllabus for 1Z0-809 does not mention Reentrant locks. Why has it been included in the question set ?

Re: About Question enthuware.ocpjp.v8.2.1104 :

Posted: Thu May 05, 2016 7:57 pm
by admin
We do have some questions in the question bank on topics that are not mentioned explicitly in the exam objectives. Such questions are there because we have received feedback from users about receiving such questions in the real exam. For this reason, we have included them so that the user is not blindsided in the exam.

HTH,
Paul.

Re: About Question enthuware.ocpjp.v8.2.1104 :

Posted: Fri May 06, 2016 9:58 am
by mtrikannad
Ok. Thanks Paul. I have noticed that ReentrantLock is in the upgrade exams though.

Re: About Question enthuware.ocpjp.v8.2.1104 :

Posted: Fri Jul 13, 2018 6:49 am
by 6a617661
The example code mentions "if you remove the line //1, //2, //3, and //4, (i.e. if you don't use any locking), you will see a ConcurrentModificationException". I have removed these lines but am not getting a ConcurrentModificationException even when letting the application run indefinitely. I'm logging out what is happening and it seems neither thread is being starved; both are getting their chance to run. Do you see different?