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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.2.0
    • 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?

            mr Mark Reinhold
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: