AbstractIoAcceptor.toString() blocks when invoked from 
IoServiceListener.serviceActivated()
-------------------------------------------------------------------------------------------

                 Key: DIRMINA-597
                 URL: https://issues.apache.org/jira/browse/DIRMINA-597
             Project: MINA
          Issue Type: Bug
          Components: Core, Transport
    Affects Versions: 2.0.0-M1
         Environment: MINA-2.0.0-RC1, tested on both JDK 1.5 and JDK 1.6
            Reporter: Barend Garvelink


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to