[jcifs] Bug in implementation of jcifs.smb.SmbFile#equals(Object).

Caldarale, Charles R Chuck.Caldarale at unisys.com
Fri Feb 22 17:28:07 GMT 2008


> From: 
> jcifs-bounces+chuck.caldarale=unisys.com at lists.samba.org 
> [mailto:jcifs-bounces+chuck.caldarale=unisys.com at lists.samba.o
> rg] On Behalf Of Michael B Allen
> Subject: Re: [jcifs] Bug in implementation of 
> jcifs.smb.SmbFile#equals(Object).
> 
> The hashCode method considers the server address and path.

But no hash value is guaranteed to be unique.  Certainly it usually is,
but it's not 100%.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


More information about the jcifs mailing list