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.
Original status: 1-Dispatched; Suggested Status: NEW Original submitter: ads Description: Name: xyNNNNNN Date: 07/19/2004 Bow build 05. Steps to reproduce : - Create class on Class Diagram . - Insert new operation into it through popup menu . - Select all text in text field appeared . - Delete this text . - Enter new text : "public void get". - Press Enter. As result - class will contain operation with wrong declaration : public voidint get() { return null; } Return type in process of typing new declaration for operation is converted from void to voidint. ====================================================================== Evaluation: Reviewed by UML ITeam. Not critical for EA. xxx@xxxx 2004-07-21 Evaluation (Entry 2): This is a result of the edit control editor that is too smart that it automatically inserts "int" right after the keyword public is entered. So, typing void would have the automated insertion "int" appended to it but it can be manually removed before hitting the enter key. Of course, the bug is still valid.
The issue still exists in the latest coco build, but there is a viable work around, so lower the priority to P3 as per NB bug priority guidelines.
Targeted in drawing area redesign.
Restoring original priority and using the standard NB waiver process.
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Still reproducible in 6.5
without live roundtrip user have more ability to correct type before code gen, so incorrect code generation is less likely now.