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.
Steps to reproduce: - Reverse engineer the test method and create a Sequence diagram: ---------------------------------------------------------------- public void test(){ Object a[] = { new Object()} ; Object b[] = { new Object()} ; String c[] = { "" } ; for( int i = 0; i < c.length; i++ ){ c[i] = a[i].toString().concat( b[i].toString() ); } } ---------------------------------------------------------------- Both 'toString()' messages are incorrectly connected to ':Object' lifeline not to a[i] and b[i] elements
Created attachment 39748 [details] Sequence diagram
this is not a bug. The objects a[i] and b[i] are of type Object. Therefore the toString() calls should be attached to the Object life line.