[jcifs] Raise Condition in SmbFile.java

Michael B Allen mba2000 at ioplex.com
Tue Jun 1 22:44:28 GMT 2004


David Fahlander said:
> The bug is that it may hang infinitely when for example calling
> SmbFile.copyTo(). This only happens sometimes though since it is a race
> condition. notify() must be called directly after changing ready = true,
> otherwise other threads can wait for ever for a notification that it is
> writeable.

>From this description I'm not convinced. If you are observing a deadlock
then post a thread dump (Ctrl-Break on Win32 or Ctrl-\ on *NIX I believe).

Mike


More information about the jcifs mailing list