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' operation and create a Sequence diagram: --------------------------------------------------------- import java.util.List; import java.util.Iterator; import java.util.LinkedList; public class Test { void test(){ List<String> list = new LinkedList<String>(); Iterator<String> iter = list.iterator(); String str = iter.next(); } } --------------------------------------------------------- There is 'public Object next()' operation on the diagram instead of 'public String next()'.
Created attachment 39122 [details] Generic return type
low use case not currently impacting our installed user base.
Waiver Candidate This is more of a feature than a bug as far as the code is concerned. There is no logic in place to handle generics this way. To add the necessary logic will be rather involved and dangerous.
Reviewed and approved for waiver by UML -iteam.
still exists in 6.5
Removing obsolete assignments. Bugs will be reassigned for M2.
Marking as enhancement as there is no bug to fix based on the comments.