harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: Problems with NIO
Date Mon, 23 Feb 2009 20:21:23 GMT
On Mon, Feb 23, 2009 at 9:57 AM, Niklas Gustavsson <niklas@protocol7.com> wrote:
> Does running the MINA or FtpServer unit tests count as a simple
> testcase? :-) If not, I'll attempt to see if I can trim it down to a
> simple JUnit test case.

Using the following code, this exception will be thrown every 10 run or so:
            IoAcceptor acceptor = new NioSocketAcceptor();
            acceptor.setHandler(new IoHandlerAdapter());
            acceptor.bind();
            acceptor.unbind();
            acceptor.dispose();

This requires MINA and SLF4J on the classpath.

Let me know if I can be of any further help!

/niklas

Mime
View raw message