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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.2.0
    • Affects Version/s: 1.2.0
    • Component/s: 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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: