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 97091 - RE Operation: Generic return type is not correctly parsed
Summary: RE Operation: Generic return type is not correctly parsed
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 13:48 UTC by Alexandr Scherbatiy
Modified: 2010-08-16 20:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Generic return type (17.09 KB, image/png)
2007-03-02 13:49 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-03-02 13:48:10 UTC
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()'.
Comment 1 Alexandr Scherbatiy 2007-03-02 13:49:38 UTC
Created attachment 39122 [details]
Generic return type
Comment 2 Peter Lam 2007-03-20 23:29:20 UTC
low use case not currently impacting our installed user base.
Comment 3 Kris Richards 2007-08-20 19:29:35 UTC
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.
Comment 4 George Vasick 2008-01-15 22:04:57 UTC
Reviewed and approved for waiver by UML -iteam.
Comment 5 Peter Lam 2008-05-20 23:11:46 UTC
still exists in 6.5
Comment 6 George Vasick 2008-06-10 17:08:41 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.
Comment 7 javydreamercsw 2010-08-16 20:43:45 UTC
Marking as enhancement as there is no bug to fix based on the comments.