Details
Description
When NioDatagramAcceptor.toString() is invoked from the serviceActivated() method of IoServiceListener, the system locks up. The [NioDatagramAcceptor-1] thread ends up waiting for a lock held by [main] which is waiting for [NioDatagramAcceptor-1] to finish activating the service.
I will attach a JUnit test case that demonstrates the problem. I'm not yet comfortable enough around MINA's innards to submit a patch.