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

(spec) File.getAbsolutePath and resolution of "." and ".."

XMLWordPrintable

    • x86
    • linux



      Name: jk109818 Date: 04/09/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)


      FULL OPERATING SYSTEM VERSION :
      Linux gizmo 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i686 unknown

      A DESCRIPTION OF THE PROBLEM :
      It would be nice to mention in the docs of the method
      "getAbsolutePath()" that it does not resolve "./" and "../" and
      that the method "getCanonicalPath()" should therefore be used.
      The same applies to the methods ending on "...File()"



      This bug can be reproduced always.
      (Review ID: 145163)
      ======================================================================

            Unassigned Unassigned
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: