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 26932 - ClassPath.getResourceName(FileObject, char, boolean) does not work as documented
Summary: ClassPath.getResourceName(FileObject, char, boolean) does not work as documented
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-31 17:11 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed 3.4.1 patch (884 bytes, patch)
2002-11-29 13:59 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-08-31 17:11:22 UTC
The separator character is ignored and '/' is
always used.
Comment 1 Jesse Glick 2002-08-31 17:12:31 UTC
Fixed in the trunk:

committed   * Up-To-Date  1.4        
java/api/src/org/netbeans/api/java/classpath/ClassPath.java
committed   * Up-To-Date  1.3        
java/test/unit/src/org/netbeans/api/java/classpath/ResourceAccessTest.java
Comment 2 Jan Becicka 2002-10-14 16:24:14 UTC
All ResourceAccessTest passed in 200210090100
Comment 3 Jesse Glick 2002-11-06 14:41:58 UTC
Could easily be fixed in 3.4, in case anyone is actually using this API.
Comment 4 Jesse Glick 2002-11-29 13:59:35 UTC
Created attachment 8110 [details]
Proposed 3.4.1 patch
Comment 5 Jesse Glick 2002-11-29 14:00:05 UTC
Svato, could I ask for a review of the attached patch?
Comment 6 Svata Dedic 2002-11-30 09:17:47 UTC
It seems OK. Thank you, Jesse.
Comment 7 Jesse Glick 2002-11-30 20:39:38 UTC
Merged to release341 branch.

Checking in java/api/src/org/netbeans/api/java/classpath/ClassPath.java;
/cvs/java/api/src/org/netbeans/api/java/classpath/ClassPath.java,v 
<--  ClassPath.java
new revision: 1.2.34.1; previous revision: 1.2
done
Comment 8 Quality Engineering 2003-07-01 13:15:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.