Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 149541 - [infer type arguments] does not handle raw member type of generic type
Summary: [infer type arguments] does not handle raw member type of generic type
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 05:41 EDT by Markus Keller CLA
Modified: 2020-03-23 16:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2006-07-04 05:41:18 EDT
See problems in bug 110594 and dups. To treat types like Cursor correctly, TTypes would have to support getDeclaringType() and all clients would have to be adjusted to take type parameters of enclosing types into account.

public class NodeList<E> {
    class Cursor { }
    {
        NodeList.Cursor cursor;
                //NodeList.Cursor is raw, type declaration is non-generic
        
        NodeList<String>.Cursor c2;
                // NodeList<String>.Cursor is standard type
    }
}
Comment 1 Eclipse Genie CLA 2020-03-23 16:55:18 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.