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 8203 - ClassElement.forClass(Node.Cookie.class).getName().getQualifier -> "org.openide.nodes.Node"
Summary: ClassElement.forClass(Node.Cookie.class).getName().getQualifier -> "org.openi...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-06 14:26 UTC by Jesse Glick
Modified: 2003-06-30 16:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test case script (internal execution) (2.31 KB, text/x-java)
2000-11-06 14:28 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-11-06 14:26:09 UTC
See subject. This behavior seems odd at least, perhaps incorrect. Docs for
getQualifier state that it gives a package name, but this is an outer class
name. Unclear whether the problem is in org.openide.src or in the clazz-module
implementation.
Comment 1 Jesse Glick 2000-11-06 14:27:59 UTC
Sorry, dev trunk Oct 30th.
Comment 2 Jesse Glick 2000-11-06 14:28:59 UTC
Created attachment 265 [details]
test case script (internal execution)
Comment 3 Svata Dedic 2000-11-06 16:27:59 UTC
Identifier.getQualifier() javadoc is misleading, I am afraid. The identifier has
no safe way how it could determine the *package*. It can only return the prefix
before the last dot. In the case of inner classes, the prefix equals to FQN of
the outer class.
Comment 4 Svata Dedic 2001-01-15 08:03:59 UTC
Javadoc changed.
Comment 5 Jan Becicka 2001-02-22 11:07:48 UTC
[010221_2] Verified
Comment 6 Quality Engineering 2003-06-30 16:43:57 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.