Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8366993

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

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 26
    • 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.

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

              Created:
              Updated:
              Resolved: