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

Using a File with a path containing a trailing space should fail when alternative data streams are disabled (win)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • core-libs
    • None
    • In Review
    • windows

      If the option -Djdk.io.File.enableADS=false is supplied, then the following code snippet should fail but it does not:

      File f = new File("Something ");
      String s = f.getCanonicalPath();

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

              Created:
              Updated: