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.
[1091] Reproduction: 1) Open template wizard for class. 2) On step "Add interface and class" click to add interface 3) Type name of package instead of interface name and click ok Package is added into "Implemented interfaces" list. It is beauty when is showed message that it is not interface like it is done for class.
First, I cannot verify that some name identifies a package. It would be easy for mounted filesystems, but not so easy for IDE's CLASSPATH. Maybe, if the core would mount all classpath's roots as filesystems the test would be possible. That leaves me with two states: - either the name user types can be resolved to a valid class or interface, and the appropriate icon is shown - or it cannot be resolved for some reason and then I have to suppose that "the user is right" and allow the name to be entered. A special icon (like class/interface icon with a question mark) can be created for a superclass or interfaces that can't be resolved from the names that user has entered.
*** Bug 7574 has been marked as a duplicate of this bug. ***
Resolved for 3.4.x or earlier, no new info since then -> closing.