Bug 322589

Summary: [5.0][hovering] Javadoc hovers should not show "? super" and "? extends" as type
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, deepakazad
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

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.