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.

Bug 203132 - CndFileUtils urlToFileObjec/fileObjectToUrl does not handle urls correctly
Summary: CndFileUtils urlToFileObjec/fileObjectToUrl does not handle urls correctly
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-05 10:27 UTC by Vladimir Voskresensky
Modified: 2011-10-11 14:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2011-10-05 10:27:09 UTC
file:///abs/path 
rfs://user@host:port/abs/path
can not be converted into file object using CndFileUtils.urlToFileObject
Comment 1 Vladimir Voskresensky 2011-10-05 17:11:39 UTC
the same issue with FileSystemProvider
Comment 3 Alexander Simon 2011-10-05 20:04:47 UTC
It seems fix have too big impact on parsing performance.
Comment 5 Quality Engineering 2011-10-06 13:51:35 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3e0138bd0fb5
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #203132  -  CndFileUtils urlToFileObjec/fileObjectToUrl does not handle urls correctly
Comment 6 Vladimir Voskresensky 2011-10-06 17:24:17 UTC
fix misprint
http://hg.netbeans.org/cnd-main/rev/b2b676e47a2f
Comment 7 Quality Engineering 2011-10-07 14:40:43 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3e0138bd0fb5
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #203132  -  CndFileUtils urlToFileObjec/fileObjectToUrl does not handle urls correctly
Comment 8 Alexander Simon 2011-10-08 19:12:51 UTC
CndFileUtilsTest unit test is failed on Windows.
Comment 9 Vladimir Voskresensky 2011-10-10 12:17:45 UTC
extra fixes to handle malformed URIs 
http://hg.netbeans.org/releases/rev/7ec35bb0334e
http://hg.netbeans.org/cnd-main/rev/55d462e01b36
Comment 10 Quality Engineering 2011-10-11 14:06:34 UTC
Integrated into 'main-golden', will be available in build *201110110600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7ec35bb0334e
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: in case of malformed URL return null (issue #203132)