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

Summary: UML does not check type of inserted attribute
Product: uml Reporter: bugbridge <bugbridge>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker CC: sunflower
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 78546    

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:

  init:
  deps-jar:
  Compiling 1 source file to JavaApplication\build\classes
  JavaApplication\src\Class1.java:4: illegal start of type
      private throws attr;
  JavaApplication\src\Class1.java:4: <identifier> expected
      private throws attr;
  JavaApplication\src\Class1.java:8: illegal start of type
      public throws getAttr() {
  JavaApplication\src\Class1.java:15: <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