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

Summary: check for final / in URL consistently
Product: java Reporter: Pavel Buzek <pbuzek>
Component: UnsupportedAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

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
api/src/org/netbeans/api/java/queries/SourceForBinaryQuery.java;
/cvs/java/api/src/org/netbeans/api/java/queries/SourceForBinaryQuery.java,v
 <--  SourceForBinaryQuery.java
new revision: 1.7; previous revision: 1.6
done
Processing log script arguments...
More commits to come...
Checking in
j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/Util.java;
/cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/Util.java,v
 <--  Util.java
new revision: 1.11