-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: EAP 5.0.0, EAP 5.0.1
-
Fix Version/s: EAP_EWP 5.1.0
-
Component/s: Seam
-
Labels:None
-
Affects:Release Notes
Initialization.redeploy has the following bit of code:
ReentrantLock lock = new ReentrantLock();
if (lock.tryLock(500, TimeUnit.MILLISECONDS))
This lock does not provide any level of protection, as every thread creates a new lock and then locks it. This will only cause potential problems in debug mode.
- duplicates
-
JBSEAM-4334 Useless lock in Initialization.redeploy
-
- Closed
-