File.getAbsolutePath() was not stripping out extra "." path
components, which is contrary to the behavior of the JDK, and
breaks user code that relies on the JDK behavior. getCanonicalPath()
was also broken was a result.
The following code produces a simple case:
Thanks, fixed!
Argh, please unfix. I'm an idiot ... the behavior of getAbsolutePath()
is correct, only getCanonicalPath() is incorrect. I'll post a real
fix tonight, after I've tested more thoroughly.
I must learn not to:
* think code is finished before writing unit tests
* think code is
This is probably something really stupid but I'm flapping trying to
figure it out. I've writen a unit test for the addition of GetEnv to
the invokation interface. When I run it I get:
0.:/home/ddavies/src/kaffe-1.0.5/test/regression/native./run.sh
Couldn't find or load essential class
Mike Linksvayer writes:
Thanks, fixed!
Argh, please unfix. I'm an idiot ... the behavior of getAbsolutePath()
is correct, only getCanonicalPath() is incorrect. I'll post a real
fix tonight, after I've tested more thoroughly.
OK, unfixed! :-)
-Archie
On Jan 14, 2000, Dalibor Topic [EMAIL PROTECTED] wrote:
I assume that the problem lies in the upgrade from
textutils 1.22 (used in RH 6.0) and textutils 2.0 (RH
6.1), since all failing tests use "// Sort output",
and in the case I inspected closely, Reflect.java, the
only differences were