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.
Steps to reproduce: - Add a class diagram - Put a class element on the diagram and name it 'MyClass' - Insert 'public void op(int a2)' operation into the 'MyClass' class element - Double click on 'op' operation on the 'MyClass' element to edit it - Go to the begin of parameter list of the 'op' operation and type 'int a1,' to add a new parameter and press 'Enter' The 'a1' parameter is incorrectly added: 'public void op( intint a1a2, )' - Build java project There is an error in the 'output' window: Compiling 1 source file to JavaApplication\build\classes JavaApplication\src\MyClass.java:7: cannot find symbol symbol : class intint location: class MyClass public void op(intint a1a2) { 1 error BUILD FAILED (total time: 0 seconds)
low use case not currently impacting our installed user base.
Planned for drawing area upgrade after NB 6.0.
Should not use resolved/later status.
The current implementation of edit control defines a space (space bar) as one of the field separators and handle it with a special logic specifically for separators. With this logic, it is not possible for users to type, say, 'int <space> foo' in front of a an existing parameter or between parameters. Fixing this issue requires major changes made to the current implementation of the edit control framework. At this stage of the project, I request this issue to be waived, since there is an alternative way to achieve the same thing; that is using the parameter customizer from the property sheet of an operation. To insert a new parameter using the Parameter Customizer, do as follows: - select a target operation either from a diagram or from the operation node on a UML project tree - go to the property sheet of the selected operation, click the '...' button of the parameter field to open the Parameter Customizer dialog. - add a new parameter and use Move Up/Down buttons to rearrange the order of the parameter - click OK to close the customizer.
Waiver candidates from 7/12/2007 bug scrub.
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Still exists in 6.5
easy workaround (usage of properties)