Bug 322589 - [5.0][hovering] Javadoc hovers should not show "? super" and "? extends" as type
Summary: [5.0][hovering] Javadoc hovers should not show "? super" and "? extends" as type
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 17:34 EDT by Markus Keller CLA
Modified: 2023-01-09 17:20 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2010-08-12 17:34:04 EDT
I20100810-0800

Javadoc hovers should not show "? super Exception" and "? extends Exception" as types in the doc headers for the invocations of get(..) and set(..) below.

The types should be normalized to Object and Exception, respectively.

The hovers for the variables and for foo(..) are correct.


import java.util.List;

public class Try {
    void foo(List<? super Exception> sup,
            List<? extends Exception> ext,
            List<?> wild) {
        sup.set(1, new Exception());
        sup.set(1, sup.get(1));
        
        ext.set(1, null);
        ext.set(1, ext.get(1));
        
        wild.set(1, null);
        wild.set(1, wild.get(1));
    }
}
Comment 1 Eclipse Genie CLA 2020-10-15 07:18:12 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.

If you have further information on the current state of the bug, please add it. 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.
Comment 2 Eclipse Genie CLA 2023-01-09 17:20:50 EST
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.

If you have further information on the current state of the bug, please add it. 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.