Name: dgC58589 Date: 01/13/98
1,2,3. the code:
File f = new File("c:\\a\\b");
shows
getParent() c:\a -- as expected,
getAbsolutePath() c:\a\b (also as expected)
getCanonicalPath() c:\a\b (also as expected)
but the code
File f = new File("c:\\a\\b\\");
shows
getParent() c:\a\b -- an ERROR
getAbsolutePath() c:\a\bgetCanonicalPath() c:\a\b (the same as parent!)
4. N/A
5. It might seems like bug 4065506 but it is different errorneous behaviour!
(Review ID: 23026)
======================================================================