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

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

    XMLWordPrintable

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: