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: hlu Description Steps: In a class diagram, create a class or interface. Insert an operation. Right-click the operation and select Properties from its context menu. In Operation - Properties popup, - select checkbox Final, then select checkbox Abstract. => An error appears with the msg "Invalid Property: An operation cannot be abstract and final at the same time." Click ok => Notice that Abstract is automatically unchecked, which is good/safe/correct behavior. - if the selection was the other way around, i.e. select checkbox Abstract first, then select checkbox Final. => Again, the same error appears. Click ok => nothing's changed in Properties, i.e. both Abstract and Final remain selected/checked, which is inconsistent behavior and might give users the wrong impression that this was simply a warning rather than a serious error.
In today's build 200707251200, select the operation within the interface to bring up the operation properties editor. 1) Abstract checkbox was selected 2) Attempt to select Final checkbox, a popup dialog appears Invalid Property An operation cannot be abstract and final at the same time 3) Click X to close the dialog 4) Notice the Final checkbox has been checked anyway despite the invalid property popup dialog Shouldn't it be unchecked?
Removing obsolete assignments. Bugs will be reassigned for M2.
still exists in 6.5