Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
This testcase passed on RI but failed on harmony
public void testLongPath() throws IOException {
File dir = new File(".");
String longDirName = "abcdefghijklmnopqrstuvwx";// 24 chars
StringBuilder sb = new StringBuilder(dir + File.separator);
while (dir.getCanonicalPath().length() < 256 - longDirName.length())
while (dir.getCanonicalPath().length() < 256)
{ sb.append(0); dir = new File(sb.toString()); assertTrue("mkdir " + dir.getCanonicalPath().length() + " failed", dir.mkdir() && dir.exists()); dir.deleteOnExit(); }}
Attachments
Attachments
Issue Links
- is blocked by
-
HARMONY-2156 [classlib][luni]file.deleteOnExit is not able to delete parent directroy even if the sub directory is marked as deleteonexit also
- Closed
- is related to
-
HARMONY-2270 [classlib][unit] tests.api.java.io.FileTest@test_mkdir failes on win XP
- Resolved