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 78419

Summary: RE Operation: local to the loop Lifeline is destroyed outside the bounds of combined fragment
Product: uml Reporter: bugbridge <bugbridge>
Component: Reverse EngineeringAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker CC: sunflower
Priority: P3 Keywords: REGRESSION
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: picture

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.