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

java.io.File: Respecify using abstract pathnames rather than strings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.0
    • 1.1.5, 1.1.6, 1.2.0
    • core-libs
    • 1.2beta4
    • generic, x86
    • generic, windows_95, windows_nt
    • Not verified

      The java.io.File class is intended to be an abstract representation of file and
      directory names. Unfortunately it was specified in the JLS to operate in terms
      of string operations and a single fixed "separator" character. This model is
      wholly inadequate for non-Unix platforms such as Win32, which have richer
      pathname syntaxes involving drive letters, UNC share names, and multiple
      separator characters. The current implementation deals with some, though not
      all, of these features and therefore violates the current specification. There
      are several outstanding bugs that, if fixed, would cause the implementation to
      deviate further from the specification.

      -- mr@eng 4/21/1998

            mr Mark Reinhold
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: