(fs) Path.relativize() gives incorrect result for ".."

XMLWordPrintable

    • b134

      Paths.get("..").relativize(Paths.get("x")) returns "../x", while actually it should be the "current working directory/x". Of course we don't know what cwd is, so maybe an IAE should be thrown.

            Assignee:
            Alan Bateman
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: