RFR: 8289689: (fs) Re-examine the need for normalization to Unicode Normalization Format D (macOS) [v2]

Andrey Turbanov aturbanov at openjdk.org
Sat Oct 29 10:58:15 UTC 2022


On Fri, 28 Oct 2022 22:22:27 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> On macOS, perform file name normalization if and only if a specific system property is set.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8289689: Use GetPropertyAction; rename property

src/java.base/macosx/classes/sun/nio/fs/MacOSXFileSystem.java line 46:

> 44:     static {
> 45:         final String name = PROPERTY_ENABLE_FILE_NAME_ENCODING;
> 46:         String value = GetPropertyAction.privilegedGetProperty(name);

Can we use `sun.security.action.GetBooleanAction#privilegedGetProperty` instead?

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

PR: https://git.openjdk.org/jdk/pull/10885


More information about the nio-dev mailing list