Konstantin,
On 1/5/13 6:31 PM, Konstantin Kolinko wrote:
> 2013/1/6 Christopher Schultz :
>>
>> On 1/5/13 12:52 PM, Konstantin Kolinko wrote:
>>> 2) Calling PreDestroy methods if init() method fails.
>>>
>>> The specs say that
>>> - if @PostConstruct methods fail then nothing is called afterwards,
2013/1/6 Christopher Schultz :
>
> On 1/5/13 12:52 PM, Konstantin Kolinko wrote:
>> 2) Calling PreDestroy methods if init() method fails.
>>
>> The specs say that
>> - if @PostConstruct methods fail then nothing is called afterwards, and
>> - if init() fails then destroy() is not called.
>>
>> I wo
Konstantin Kolinko wrote:
>1) Calling PreDestroy methods if destroy() method fails.
>
>I think that PreDestroy methods should be called even if destroy()
>fails.
>For Filters it was fixed by r1428645 . For Servlets this is yet to be
>fixed.
>
>I think this has to be fixed, similar to r1428645.
Konstantin,
On 1/5/13 12:52 PM, Konstantin Kolinko wrote:
> 2) Calling PreDestroy methods if init() method fails.
>
> The specs say that
> - if @PostConstruct methods fail then nothing is called afterwards, and
> - if init() fails then destroy() is not called.
>
> I wonder whether failure of ini