CDV ❯ adding named locks to constructors with multiple exit paths causes verify error
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
DSO:L1
-
-
teck
-
Reporter: teck
-
February 23, 2007
-
0
-
Watchers: 0
-
July 27, 2012
-
March 17, 2007
Description
I changed the no-arg constructor of ClassAdapterTestTarget to have a synch block in it. That has the effect of creating more than more exit path from the method.
ClassAdapterTest runs a case (testNamedLockInInstanceManagedConstructor) where a named lock is applied to this constructor. And you get
java.lang.VerifyError: (class: com/tctest/ClassAdapterTestTarget, method:
This is something a regular user can do. It is not specific to test code or anything