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.

Bug 78362 - Setting of Abstract->Final properties in an operation is not working properly
Summary: Setting of Abstract->Final properties in an operation is not working properly
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Properties (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 22:24 UTC by bugbridge
Modified: 2009-05-25 21:06 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-19 22:24:19 UTC
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.
Comment 1 Joanne Lau 2007-07-25 19:42:06 UTC
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?
Comment 2 George Vasick 2008-06-10 17:08:24 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.
Comment 3 Joanne Lau 2008-06-19 21:52:41 UTC
still exists in 6.5