On Tue, 2014-03-25 at 15:48 +0400, Dmitry Potapov wrote:
> Gentlemen,
> 
> Have you came to any conclusion concerning this?
> Currently AbstractMultiworkerIOReactor.execute(...) has finally block which
> calls doShutdown() which can throw exception itself (see HTTPCORE-376), so
> all information about current exception will be lost.

I/O reactors are complex beasts. If things go sideways, there can be
multiple exceptions in multiple places. I am not sure suppressed
exceptions introduced in Java 1.7 would help us much here. For that
reason the standard I/O reactors maintain an audit log. Suppressed
exceptions should be logged there.

Oleg 

> One of the ways to fix this and have information concerning both exception is
> to use suppressed exceptions idiom implemented in Java 7 (probably with
> conjunction with try-with-resources), so I wish to know is it allowed to use
> Java 7 features in future patches.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to