Actually on my Linux lap top, it fails at 255 characters. Here's the test program:
| public void testCreateDirs() throws Exception
| {
| String dir = "/tmp/jbm-unit-test/page/";
|
| for (int i = 0; i < 1000; i++)
| {
| dir += "X";
|
| File f = new File(dir);
|
| boolean ok = f.mkdirs();
|
| if (!ok)
| {
| throw new IOException("failed at " + i);
| }
| }
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199494#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...