Bug 97814

Summary: Incorrect resolved information on hover
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Lanneluc CLA 2005-06-01 06:54:34 EDT
 
Comment 1 Jerome Lanneluc CLA 2005-06-01 06:56:01 EDT
3.1 RC1 + latest JDT Core

Hover over fill in the following test case:
import java.util.*;
public class X {
   void bar() {
      List<Exception> le = new ArrayList<Exception>(5);
      //   hover
      Collections.fill(le, new NullPointerException()); 
   }
 }

It shows:
 <NullPointerException> void java.util.Collections.fill(List<? super T> list,
NullPointerException obj)

? super T should have been substituted.
Comment 2 Philipe Mulet CLA 2005-06-01 08:03:43 EDT
+1 for RC2
Comment 3 Jerome Lanneluc CLA 2005-06-01 11:25:24 EDT
Changed KeyToSignature#substitute(...) to handle type variables nested in array,
wilcard and capture.
Added regression tests BindingKeyTests#test041() and test042()
Comment 4 Olivier Thomann CLA 2005-06-06 21:10:13 EDT
Verified in N20050606-0010 + JDT/Core HEAD
Comment 5 Frederic Fusier CLA 2005-06-10 11:06:12 EDT
Verified for 3.1 RC2 using build I20050610-0010