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.
The is a regression. Reverse engineer the following operation. The "length" variable is displayed as representing classifier for the lifeline where it should be "length : int". See attached screenshot. public void testConditionIf2(){ Method[] method = getClass().getMethods(); if ( method != null && method.length > 0){ System.out.println(method[0].getName()); }else{ System.out.println(getClass().getName()); } }
Created attachment 51600 [details] incorrect lifeline
just checked with 5.5 - it behaves the same, so removed the regression keyword
The reason I marked it as a regression is that this issue has been fixed and I just found the issue number and that is issue 98975 after you confirmed it's the same as in NB5.5. And now issue 98975 is failing too with similar source. See attached screenshot using build 200709180323 that has the fix and showing correct sequence diagrams for both this case and the case in issue 98975. Marking it as regression again since it's a recent regression to the previous fix.
Created attachment 51803 [details] correct sequence diagram for issue 119937
Created attachment 51804 [details] correct sequence diagram for issue 98975
*** Issue 98975 has been marked as a duplicate of this issue. ***
fixed.
verified in trunk build 20071030.