RFR: 8366911: (fs) Remove support for normalizing file names to Unicode normalized form D (macOS) [v2]

Brian Burkhalter bpb at openjdk.org
Fri Sep 5 16:21:27 UTC 2025


On Fri, 5 Sep 2025 06:44:07 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8366911: Remove MacPathTest; tweak MacPath; UnixPath.stringValue -> stable
>
> src/java.base/unix/classes/sun/nio/fs/UnixPath.java line 816:
> 
>> 814:         String stringValue = this.stringValue;
>> 815:         if (stringValue == null) {
>> 816:             this.stringValue = stringValue = Util.toString(path);     // platform encoding
> 
> In passing, I think stringValue can be a stable field.

Made stable in 40aadb2.

> test/jdk/java/nio/file/Path/MacPathTest.java line 25:
> 
>> 23: 
>> 24: /* @test
>> 25:  * @bug 7130915 8289689 8366911
> 
> This test has `@run main/othervm -Djdk.nio.path.useNormalizationFormD=true` that I assume should be removed.

Removed in 40aadb2.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27109#discussion_r2325515003
PR Review Comment: https://git.openjdk.org/jdk/pull/27109#discussion_r2325514728


More information about the nio-dev mailing list