This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Now getFileObject(".") call returns a different file object with trailing "." That's incorrect, I believe The test is @Test public void testToAbsolutePath() { File file = new File("/usr/include"); FileObject fo = FileUtil.toFileObject(file); FileObject fo2 = fo.getFileObject("."); System.err.printf("%s\n", fo2); assert fo.equals(fo2); } It prints MasterFileObject[/usr/include/.@1eec35:22ab57,valid=true] and fails
it's blocking us from moving to file objects again...
Created attachment 108388 [details] The test continues to fail on windows
Opps, comment meant for bug 194418.
ergonomics#c67e8dcdd7e3
Please, transplant into 7.0.1 Thanks!
Integrated into 'main-golden', will be available in build *201105250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c67e8dcdd7e3 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #198702: Support '.' in path names
changeset: 4d0178a80206 branch: release701 parent: d13432f323bc parent: c67e8dcdd7e3 date: Wed May 25 17:59:28 2011 +0200 summary: Merge of #198702 to 7.0.1