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 78544 - UML does not check type of inserted attribute
Summary: UML does not check type of inserted attribute
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
Depends on:
Blocks: 78546
  Show dependency tree
Reported: 2006-06-20 12:49 UTC by bugbridge
Modified: 2009-05-25 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-20 12:49:55 UTC
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:

  Compiling 1 source file to JavaApplication\build\classes
  JavaApplication\src\ illegal start of type
      private throws attr;
  JavaApplication\src\ <identifier> expected
      private throws attr;
  JavaApplication\src\ illegal start of type
      public throws getAttr() {
  JavaApplication\src\ <identifier> expected
  4 errors
  BUILD FAILED (total time: 0 seconds)
Comment 1 Craig Conover 2006-08-11 02:08:57 UTC
Review: Need to check for key words and block when used for attr type.
Comment 2 Craig Conover 2006-08-21 20:52:14 UTC
If this can be addressed with some sort of validation rules, then this issue
should become a Diagram Class subcomponent.
Comment 3 George Vasick 2007-05-17 18:48:31 UTC
Planned for drawing area upgrade after NB 6.0.
Comment 4 George Vasick 2007-05-18 00:46:49 UTC
Should not use resolved/later status.
Comment 5 George Vasick 2007-06-28 22:42:13 UTC
Targeted in drawing area redesign.
Comment 6 George Vasick 2007-07-04 00:54:22 UTC
Restoring original priority and using the standard NB waiver process.
Comment 7 George Vasick 2008-01-02 17:40:42 UTC
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Comment 8 Joanne Lau 2008-06-11 01:16:43 UTC
Still exists in 6.5
Comment 9 Joanne Lau 2008-06-18 05:39:51 UTC
still exists in 6.5