[jcifs] SmbFile getInputStream

Torben Wölm torben.wolm at LEGO.com
Wed Aug 15 06:47:33 GMT 2007


Hi

Just wondering if something changed reg. getInputStream on SmbFile -- specifically the method "open0" which contains these lines

(at 887)

try {
            send( request, response );
} catch( Exception e) {
    e.printStackTrace();
}


This causes a call to getInputStream on a file that doesn't exist to behave rather strangely. Instead of an instant SmbException (as I recall it worked earlier) the SmbException is just printed on stderr and a long time passes before I get another SmbException, typically a timeout.

This is both in 1.2.15 and 1.2.16, I don't have access to earlier source code to verify this...

Kind regards
Torben


More information about the jcifs mailing list