java.io.File.isAbsolute reporting false on "\"

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • None
    • sparc
    • solaris_2.5.1

      Where did bug 4104532 come from?

      From a command prompt on windoze95, "cd \" and "dir \" refer to the
      root directory of the current drive. Yet, according to 1.2beta4,
      new File("\").isAbsolute() is false.

      Further, "cd \c:", and "dir \c:" complain "File not found".


      What am I missing? How is the new, incompatible behaviour correct?

            Assignee:
            Mark Reinhold
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: