Release Note: New System Property to Disable Windows Alternate Data Stream Support in java.io.File

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P4
    • 19
    • Affects Version/s: 7u343, 8u333, 11.0.15.1-oracle, 11.0.15.1.1-oracle, 17.0.3.1-oracle, 17.0.3.1.1-oracle, 18.0.1.1, 19
    • Component/s: core-libs
    • windows

        The Windows implementation of `java.io.File` allows access to NTFS Alternate Data Streams (ADS) by default. Such streams have a structure like “filename:streamname”. A system property `jdk.io.File.enableADS` has been added to control this behavior. To disable ADS support in `java.io.File`, the system property `jdk.io.File.enableADS` should be set to `false` (case ignored). Stricter path checking however prevents the use of special devices such as `NUL:`

              Assignee:
              Brian Burkhalter
              Reporter:
              Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: