On Fri, Sep 24, 2010 at 2:27 AM, Tim Ellison <[email protected]> wrote:
>
> No, I don't think it is a problem. I was reviewing the invokers of
> toLowerCase() and was confused by the wording in the spec. I'm happy
> that we should simply lowercase it in a locale independent way, and
> don't need to do a "windows equals" implementation.
>
Ok, but sure seems like a bug to me.
File f1 = new File("σ.txt");
File f2 = new File("ς.txt");
System.out.println(f1.hashCode());
System.out.println(f2.hashCode());
System.out.println(f1.equals(f2));
889962580
890776533
true
--
Robert Muir
[email protected]