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 44775 - check for final / in URL consistently
Summary: check for final / in URL consistently
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Tomas Zezula
Depends on:
Blocks: 41535
  Show dependency tree
Reported: 2004-06-11 20:34 UTC by Pavel Buzek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2004-06-11 20:34:08 UTC
This issues is in ant/freeform (java part) and
Jesse asked me to file it here.

The problem is that toURL appends / for existing
folders but not for non-existing. Some code in
ant/freeform appends / to non existen and some
does not - this should be consistent.

you should also check the final "/" for the
parameter in:
    public synchronized
SourceForBinaryQuery.Result findSourceRoots(URL
binaryRoot) {
Comment 1 Tomas Zezula 2004-06-11 21:34:58 UTC
Ok, I will add an assertion there.
Comment 2 Tomas Zezula 2004-06-16 14:36:55 UTC
Checking in
new revision: 1.7; previous revision: 1.6
Processing log script arguments...
More commits to come...
Checking in
new revision: 1.11