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

(fs) Path.relativize returns incorrect result if path contains "." or ".."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • core-libs
    • generic, x86
    • generic, windows_7

      The relativize method (both Unix and Windows implementations) don't handle treat "." correctly. More details here:


      http://mail.openjdk.java.net/pipermail/nio-dev/2010-February/000907.html

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: