[jcifs] Thread deadlock
Jason Scherer
jscherer at blackfintech.com
Tue Mar 18 12:58:23 EST 2003
I have written a program that recurses a directory structure and copies
the files to a network drive using the jcifs api. The code would
"sometimes" stop when trying to copy the files. I downloaded and compiled
the code to try and debug this problem, and what I have found is that the
SmbFile.copyTo0 method has a deadlock issue in the w.wait() call below.
synchronized( w ) {
while( !w.ready ) {
try {
w.wait();
Has anyone else had this issue, or seen anything similar? If so, is there
a fix for it?
Thank you in Advance!
Jason
More information about the jcifs
mailing list