JLS overspecifies java.io.File.getParent()

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 1.1
    • Component/s: specification
    • None
    • sparc
    • solaris_2.5.1

      The JLS specifies java.io.File.getParent() in terms of simple string operations
      on the File object's pathname string. This is wrong, since the definition of
      parent directory is system-dependent. I have fixed the doc comment in the File
      class to reflect this, but the specification in the JLS should also be fixed.

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: