Summary: | Incorrect resolved information on hover | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | Core | Assignee: | 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
2005-06-01 06:54:34 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. +1 for RC2 Changed KeyToSignature#substitute(...) to handle type variables nested in array, wilcard and capture. Added regression tests BindingKeyTests#test041() and test042() Verified in N20050606-0010 + JDT/Core HEAD Verified for 3.1 RC2 using build I20050610-0010 |