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 submitter: sunflower Description: Steps to reproduce: - Create class diagram. - Add class to the diagram and name it 'Class1' . - Select the class on the diagram. - Change visibility property of the class to private. - Build Java Source project. Next error message appears in the output panel: init: deps-jar: Compiling 1 source file to C:\test\uml\App2_JAVA\build\classes C:\test\uml\App2_JAVA\src\Class1.java:2: modifier private not allowed here private class Class1 { 1 error BUILD FAILED (total time: 0 seconds) User should not have possibility to set private or protected visibility for classes and interfaces.
Review: bug is as stated. This is a properties issue not a synchronization issue (change subcomponent). The property should only show valid options for top level Java classes and interfaces.