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.
Netbeans 5.5 Preview (build 2006.01.31) Steps to reproduce: - Put 'Class1' class element on class diagram - Insert 'private throws attr' attribute into the 'Class1' class element The attribute is added without any warning messages The project is not compiled: init: deps-jar: Compiling 1 source file to JavaApplication\build\classes JavaApplication\src\Class1.java:4: illegal start of type private throws attr; JavaApplication\src\Class1.java:4: <identifier> expected private throws attr; JavaApplication\src\Class1.java:8: illegal start of type public throws getAttr() { JavaApplication\src\Class1.java:15: <identifier> expected } 4 errors BUILD FAILED (total time: 0 seconds)
Review: Need to check for key words and block when used for attr type.
If this can be addressed with some sort of validation rules, then this issue should become a Diagram Class subcomponent.
Planned for drawing area upgrade after NB 6.0.
Should not use resolved/later status.
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 exists in 6.5
still exists in 6.5