Well, after some debugging I found the source of the exception: the function org.xbill.DNS.Client.cleanup(). Specifically the statement "key.selector().close();".

Simply catching and ignoring the exception in the cleanup() function allows all unit test cases to pass. I verified that the selector was actually closed by checking isOpen().

I am going to write a test case that puts some stress on Address.getByName() and see how things go.

-Mike Bryant.

On Nov 14, 2006, at 9:04 AM, Michael Bryant wrote:

A suggested workaround is given to add code to catch and ignore the exception. I may spend some time looking into this possibility.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to