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 7031 - org.openide.src.ClassElement.setName() throws java.lang.IllegalArgumentException: Class name qualifier does not match outerclass/source name
Summary: org.openide.src.ClassElement.setName() throws java.lang.IllegalArgumentExcept...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P2 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-12 11:01 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception details (566 bytes, text/plain)
2000-07-12 11:06 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2000-07-12 11:01:09 UTC
Exception is thrown if class has inner classes.
Comment 1 Jan Becicka 2000-07-12 11:06:59 UTC
Created attachment 30 [details]
Exception details
Comment 2 Svata Dedic 2000-07-12 17:28:59 UTC
Fixed. The cause was incorrect checking if the new name is appropriate for the
source and/or outer classes; the test gave incorrect results for inner classes.
Now the setName() accepts both fully constructed (full/source name) identifier
and simple identifier (full name == source name).
Comment 3 Quality Engineering 2003-07-01 13:17:34 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.