(fs) Remove support for normalizing file names to Unicode normalized form D (macOS)

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 26
    • Component/s: core-libs
    • None
    • behavioral
    • minimal
    • Minor compatibility risk due to removal of file name normalization property.
    • System or security property
    • JDK

      Summary

      Remove support for opt-in file path normalization via a system property on macOS.

      Problem

      APFS has been the macOS file system since September 2017 when it succeeded HFS+. No currently supported version of macOS uses HFS+ ,yet the JDK still has a system property to allow opting in to file path normalization.

      Solution

      Remove the system property jdk.nio.path.useNormalizationFormD and code which would never be executed in its absence.

      Specification

      Running with -Djdk.nio.path.useNormalizationFormD or -Djdk.nio.path.useNormalizationFormD=true will no longer have any effect, i.e., file paths will no longer be normalized to Unicode Normalization Form D when the property is set.

            Assignee:
            Brian Burkhalter
            Reporter:
            Brian Burkhalter
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: