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.
Original status: 1-Dispatched; Suggested Status: NEW Original submitter: akorostelev Description: Roundtrip source-to-model doesn't support variable number of parameters in the operator. How to reproduce: - create java project - create RE uml project related to java project. - add class diagram - put class element on diagram and name it. - go to source of the class. - add method with variable number of parameters: public void test(String... f) { } - Return to diagram. created methhod appeared in class element but with one parameter only: public void test(String f)
This scenario is obsolete because of the Roundtrip Redisgn: issue 84855
Reverse engineer the java class: ----------------------------------- public class Example { public void test(String... str) { for(String s : str){ System.out.println(s); } } } ----------------------------------- The Example class element has 'public void test()' operation instead of 'public void test(String str[])'
still exists in 6.5