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

java.io.File: Regression test GetParent failing (solaris)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • core-libs
    • None
    • 1.2beta4
    • sparc
    • solaris_2.5.1
    • Not verified

      Regression test io/File/GetParent.java failing in JDK1.2beta4-F on solaris.
      The same test passing in JDK1.2beta4-E.
       /home/madhava/GOLDEN/HOWTO( 8 )% java GetParent.^R
      java GetParent
      Unix
      foo:
      ./foo: (.)
      foo/bar/baz: (foo/bar) (foo)
      ../../foo: (../..) (..)
      foo//bar: (foo)Exception in thread "main" java.lang.Exception: Wrong parent for foo/bar: Expected foo/, got foo
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at GetParent.check(Compiled Code)
              at GetParent.main(Compiled Code)

            mr Mark Reinhold
            mavvarisunw Madhava Avvari (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: