Bug 78419 - RE Operation: local to the loop Lifeline is destroyed outside the bounds of combined fragment
RE Operation: local to the loop Lifeline is destroyed outside the bounds of c...
Status: NEW
Product: uml
Classification: Unclassified
Component: Reverse Engineering
5.x
PC Windows XP
: P3 (vote)
: 6.x
Assigned To: issues@uml
issues@uml
: REGRESSION
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-19 23:52 UTC by bugbridge
Modified: 2009-05-25 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
picture (77.55 KB, image/png)
2006-06-20 13:34 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-19 23:52:48 UTC
Original submitter: sunflower

Description:
Steps to reproduce:

- Do Reverse Engineering of 'testLoopFor' method and create a Sequence diagram:

  ---------------------------------------------------------------
    public void testLoopFor(){
        
        double a[] = { 1 , 2, 3 , 4, 5 } ;
        double b[] = { 5 , 4, 3 , 2, 1 } ;
        double c[] = { 0 , 0, 0 , 0, 0 } ;
        
        
        for( int i = 0; i < a.length; i++ ){
            c[i] = a[i] + b[i];
        }
        
    }
  ---------------------------------------------------------------

- There is a 'i:int' Lifeline on the Sequence diagram. It is 
  in the 'loop' Combined fragment. But The '' 'i:int' Lifeline
  is destroyed  outside the bounds of combined fragment.
  (See attached picture)
Comment 1 Sergey Petrov 2006-06-20 13:34:47 UTC
Created attachment 31220 [details]
picture
Comment 2 Sergey Petrov 2008-05-14 15:07:43 UTC
top "red circle" works now, bottom one doesn't work yet as should do.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo