|
From: | tromey at gcc dot gnu dot org |
Subject: | [Bug classpath/23974] new File( "name\\" ).getName() returns "" instead of "name" |
Date: | 20 Sep 2005 15:37:53 -0000 |
------- Additional Comments From tromey at gcc dot gnu dot org 2005-09-20 15:37 ------- PlatformHelper.endWithSeparator (which btw is misnamed, it should at least be "ends") returns true if the last character is a backslash -- which is not correct on unix platforms. Also the code in VMFile.getName() looks fishy. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23974
[Prev in Thread] | Current Thread | [Next in Thread] |