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

JLS overspecifies java.io.File.getParent()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.1
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: