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 25636 - RefPackage.refPackage("CertainlyWrongPackageName") returns null
Summary: RefPackage.refPackage("CertainlyWrongPackageName") returns null
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-15 16:51 UTC by matiouchkine
Modified: 2005-07-27 09:01 UTC (History)
1 user (show)

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 matiouchkine 2002-07-15 16:51:57 UTC
According to JMI spec:

====================================================
RefPackage.refPackage(String nestedPackageName)
...
InvalidNameException is raised when the
"nestedPackageName" does not denote a valid nested
package name.
====================================================

Current JMI implementation of MDR in such case
simply returns *null* silently, without throwing
any exceptions.
Comment 1 Martin Matula 2002-07-18 11:47:13 UTC
Fixed.
Comment 2 Jiri Prox 2005-07-27 09:01:13 UTC
quiet for too long, verified