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 98355

Summary: RE Operation: operation that is called from array object is incorrectly drawn
Product: uml Reporter: Alexandr Scherbatiy <sunflower>
Component: Reverse EngineeringAssignee: Kris Richards <krichard>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Sequence diagram

Description Alexandr Scherbatiy 2007-03-20 15:19:59 UTC
Steps to reproduce:

- Reverse engineer the 'test' method and create a Sequence diagram:
--------------------------------------------------------
    void test(String[] m){
        int hash = m.hashCode();
    }
--------------------------------------------------------
  
  The 'hashCode()' message is incorrectly connected to 'm:String' Lifeline
  instead of 'm[]:String'.
  It is a regression from fix of issue 78375
Comment 1 Alexandr Scherbatiy 2007-03-20 15:23:01 UTC
Created attachment 39703 [details]
Sequence diagram
Comment 2 Peter Lam 2007-03-23 01:04:35 UTC
This is not a regression. It also exists in Griffin. Remove REGRESSION keyword.
Comment 3 Kris Richards 2007-08-21 20:49:57 UTC
this is such a LOW use case it should be waive. It also does not represent a class of possible issues.
Comment 4 Trey Spiva 2007-08-21 21:29:52 UTC
THe sequence digram does not handle arrays very well.  The diagram is correct in that the hashcode is being called on the member "m".  However, since our 
sequence diagram does not handle arrays, this is the best that we can accomplish.  

I am making this an RFE, because we need to research how the best way to handle arrays.  Then we will have to upgrade our sequence diagram.