[jcifs] SmbFileInputStream question

Michael B Allen mballen at erols.com
Fri Mar 22 13:29:25 EST 2002


This is a bug. jcifs-0.6.2 with this fix and the named pipe fix is
imminent.

Mike

On Thu, 21 Mar 2002 15:32:39 -0500
"Tony Thompson" <tony.thompson at stone-ware.com> wrote:

> SmbFileInputStream seems to break the contract of InputStream that Java developers are traditionally used to.  The method:
> 
> public int read( byte[] b, int off, int len );
> 
> does not return a -1 when the end of the stream has been reached.  Any chance this could be fixed?
> 
> Thanks.
> Tony
> 
> 


-- 
May The Source be with you.


#################################################################
#################################################################
#################################################################
#####
#####
#####
#################################################################
#################################################################
#################################################################




More information about the jcifs mailing list