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

(fs) Path.relativize() gives incorrect result for empty path on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None
    • b51
    • windows

        Paths.get("").relativize(Paths.get("x")) different on Windows and Unix. On Windows, it's ..\x. On Unix (Mac OS X here), it's x.

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

                Created:
                Updated:
                Resolved: