[jcifs] Interrupted connect

Michael B Allen mba2000 at ioplex.com
Wed Nov 23 18:29:47 GMT 2005


On Wed, 23 Nov 2005 14:39:52 +0100
Thomas Krammer <Thomas_Krammer at avid.com> wrote:

> Hi everyone,
> 
> I found a bug in jcifs.util.transport.Transport. If the thread executing 
> Transport.connect() is interrupted all following connect() calls fail 
> with a TransportException "Invalid state: 1".
> 
> The reason for this is that the state isn't reset by the 
> InterruptedException handler.
> 
> The attached patch fixes this problem.

Ok, I'll add this to The List.

Just out of curiousity, under what conditions would the transport thread
be interrupted?

Mike


More information about the jcifs mailing list