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: - Create a Java-Platform UML project - Create a Class diagram - Put a Class element on the diagram and name it 'MyClass' - Insert 'private int a' attribite into the element - Generate Code for the project The generated 'MyClass' source code is: ------------------------------------------------- public class MyClass { public MyClass() { } public int getA() { return a; } public void setA(int val) { this.a = val; } } ------------------------------------------------- 'private int a;' attribute is missed from the source code. The source code is not compiled: ----------------------------------------------------------------- UMLProject1Sources\src\MyClass.java:7: cannot find symbol symbol : variable a location: class MyClass return a; UMLProject1Sources\src\MyClass.java:11: cannot find symbol symbol : variable a location: class MyClass this.a = val; 2 errors BUILD FAILED (total time: 0 seconds) -----------------------------------------------------------------
Rise the priority to P1 because it is a regression and it affects the main functionality of Code generation area.
Unable to reproduce. Maybe a fix in another area/issue fixed this issue. If still reproducible, please provide more details if possible. Maybe OS specific? or any other minor steps that might affect the reproduction of this issue.
verified in all-nbms-griffin-061018_27