jcifs-1.2.22 from tgz
authorFelix Schumacher <p0354740@isib001.(none)>
Wed, 6 Aug 2008 14:47:28 +0000 (16:47 +0200)
committerFelix Schumacher <p0354740@isib001.(none)>
Wed, 6 Aug 2008 14:47:28 +0000 (16:47 +0200)
commit195d57b57a3dbc231ecb2432195bedc1b5bab628
tree7539c286a0e0b85dc44bd1b7659dc40c4c7de6d2
parentb2c7f8546080d4ea1a8631a5c976d971b2ae884e
jcifs-1.2.22 from tgz

Wed Jun 25 20:26:33 EDT 2008
jcifs-1.2.22

The SmbFileInputStream methods will now throw InterruptedIOExceptions
where apppropriate whereas previously they would throw SmbExceptions
with a root cause of TransportException with a root cause of
InterruptedException.

If SmbSession.send() throw an exception it could leave the session in a
bad state which could cause "Invalid parameter" exceptions on subsequent
requests.

An InterruptedException in jcifs.netbios.NameServiceClient was being
caught and ignored. It will now be re-thrown as an IOException so that all
threads used with/by JCIFS can be interrupted and caused to exit. Several
other similar (albeit less important) InterruptedExceptions were also
adjusted.

A jcifs.smb.client.dfs.disabled property has been added to disable domain
based DFS so that the client does not try and fail to resolve paths as
domain paths in non-domain environments (e.g. on the local machine).

The getSecurity and getShareSecurity methods will now return null if no
DACL is present on a file whereas previously it would retrun an empty
array. This allows the caller to distinguish between an empty DACL and
one that is simply empty.
15 files changed:
README.txt
build.xml
examples/InterruptTest.java
examples/runtests.sh
src/jcifs/dcerpc/DcerpcHandle.java
src/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java
src/jcifs/netbios/NameServiceClient.java
src/jcifs/smb/BufferCache.java
src/jcifs/smb/Dfs.java
src/jcifs/smb/NtTransQuerySecurityDescResponse.java
src/jcifs/smb/SecurityDescriptor.java
src/jcifs/smb/SmbFile.java
src/jcifs/smb/SmbFileInputStream.java
src/jcifs/smb/SmbSession.java
src/jcifs/smb/SmbTransport.java