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

(1.1) java.io.File does not handle drive-relative paths (win32)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.6
    • core-libs
    • x86
    • windows_nt



      Name: dbT83986 Date: 02/01/99


      On the NT or Win95 side, it allows you to attempt to create a file with a colon in the filename. This is allowed on Unix side but
      not on PC side. On PC side, this should be recognized and forced to evaluate the colon as a drive letter indicator, defaulting to
      present directory on that drive. This doesn't happen.

      "c:autoexec.bat" tries to make a file in current directory named "c:autoexec.bat". It should recognize on PC side that the colon
      designates C-drive, and default to current directory on C-drive. So if current directory on C-drive is FRED, the resulting file
      should be created:

      c:\FRED\autoexec.bat

      (Review ID: 37052)
      ======================================================================

            mr Mark Reinhold
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: