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.
NB 5.5 200604270200 Missleading message is displayed when adding elements (top level class or inner classes) with existing name. It says 'The specified name is not a valid java identifier', although the identified is OK. It should display something like 'The specified identified already exists' Steps to reproduce: 1) create new class A 2) add inner class named Inner 3) select the node related to class A in project view 4) form popup menu select Add-> Inner Class 5) in the dialog fill is 'Inner' as the name. 6) press tab -> ... invalid identifier message is dispayed alternative steps: ... 3) select node relata to resource file containing A 4) form popup menu select Add-> Class 5) in the dialog fill is 'A' as the name. ...
Fixed in trunk. /cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ClassCustomizer.java new revision: 1.14; previous revision: 1.13
verified