RFR: 8289689: (fs) Re-examine the need for normalization to Unicode Normalization Format D (macOS) [v2]
Jaikiran Pai
jpai at openjdk.org
Sat Oct 29 11:40:01 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
test/jdk/java/nio/file/Path/MacPathTest.java line 51:
> 49: ProcessBuilder pb;
> 50: if (ENABLE_FILE_NAME_ENCODING) {
> 51: String option = ENABLE_FILE_NAME_ENCODING ?
Hello Brian, it appears that the additional ternary check here is unecessary since the enclosing `if (ENABLE_FILE_NAME_ENCODING)` already implies `ENABLE_FILE_NAME_ENCODING` is `true`.
-------------
PR: https://git.openjdk.org/jdk/pull/10885
More information about the nio-dev
mailing list