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)
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)
- relates to
-
JDK-4027914 java.io.File has problems with root directory (on Solaris)
-
- Closed
-