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 - RE Operation: operation that is called from array object is incorrectly drawn
Summary: RE Operation: operation that is called from array object is incorrectly drawn
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Kris Richards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 15:19 UTC by Alexandr Scherbatiy
Modified: 2007-08-21 21:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Sequence diagram (33.45 KB, image/png)
2007-03-20 15:23 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
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.