Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.3
-
Fix Version/s: 2.4
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
The StartableLifecycleStrategy disposeComponent() method casts to Disposable instead of using the doLifecycleMethod method. This fails when the class is subclassed to use java.io.Closeable as the "disposable" interface.
The code should call doLifecycleMethod from disposeComponent().
Chg 4684 fixes this.