JSR199 FileObjects don't obey general contract of equals.

Peter Ahé peter at ahe.dk
Wed Jun 20 22:49:55 PDT 2007


On 6/20/07, Jonathan Gibbons <Jonathan.Gibbons at sun.com> wrote:
> So the proposal is the following
> - fix ZipFileObject equality to use && not ||

That may fix the hashCode issue, but are you sure "foo" and its
absolute equivalent will remain equal?

Cheers,
Peter



More information about the compiler-dev mailing list