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.
When in fact it does return null sometimes, and really has to, if the ID is not recognized. (And possibly if the FileObject is not null but is not in any known classpath - this is not clear either.) Suggest: - add a @return tag mentioning that it can be null and why - add to apichanges.xml for java/api, marking as incompatible, since in principle someone might be using getClassPath already in 3.4 and not checking for null
/cvs/java/api/src/org/netbeans/api/java/classpath/ClassPath.java,v <-- ClassPath.java new revision: 1.5; previous revision: 1.4 /cvs/java/api/doc/changes/apichanges.xml,v <-- apichanges.xml new revision: 1.3; previous revision: 1.2
Reporter, could you verify this bug? Thanks
Seems OK now.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.