MacOS file system changes between 7u10 and 7u40?

Philippe Marschall philippe.marschall at gmail.com
Sat Sep 21 07:41:44 UTC 2013


On Fri, Sep 20, 2013 at 4:51 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 20/09/2013 11:32, Philippe Marschall wrote:
>>
>> Hi
>>
>> Have there been any changes to the way the default file system handles
>> Unicode normalization between 7u10 and 7u40? I'm suddenly seeing code
>> behave differently and I don't remember reading anything in the
>> changelogs.
>
> I assume you are looking for this one:
>
> 7130915: File.equals does not give expected results when path contains
> Non-English characters on Mac OS X
>
> It was back-ported to 7uX last year [1]. There were also several threads
> about this topic on macosx-port-dev at the time, much of it about the
> initial port of JDK 7 to Mac OS X not matching Apple's JDK 6.
>
> So I'm curious if you are just obviously different behavior or whether this
> has broken something. Were you using java.text.Normalizer to work around
> issues?

I have this in-memory file system [1] that tries to simulate MacOS
file system for testing purposes. As part of the test suite I run the
same code against the default file system and the in-memory file
system to ensure the behavior matches. These tests fail now. So it's
not a big deal, I'll have to change the in-memory implementation and
tests to match the new MacOS behavior.

I hope to talk about it at JavaOne (CON4114) but at the moment it's
just an alternate session.

 [1] https://github.com/marschall/memoryfilesystem

Cheers
Philippe


More information about the nio-dev mailing list