Bug 96410 - Incorrect information in selection resolved key
Summary: Incorrect information in selection resolved key
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 06:50 EDT by Philipe Mulet CLA
Modified: 2005-05-27 09:24 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 Philipe Mulet CLA 2005-05-24 06:50:55 EDT
Build 3.1m7

On following code, the hover on 'get(null)' shows occurrences of 'F' where I
would expect substitution with '?' instead.

import java.util.List;

class Key<E extends Key<E>> {}
class Store<F extends Key<F>> {
	F get(F f) { return null; }
}

public class X<T> {
	Store<?> store;
	Key<?> key = store.get(null);
}
Comment 1 Jerome Lanneluc CLA 2005-05-25 10:00:06 EDT
Removed ParameterizedMethodBinding#computeUniqueKey(...).
Changed ParameterizedGenericMethodBinding#computeUniqueKey(...) to use the
'originalMethod' unique key.
Adapted BindingKeyResolver and KetToSignature to this new format.

Changed BatchAstCreationTests and resolveTests_1_5 to use this new format.
Added regression test BindingKeyTests#test035() and test036().
Comment 2 David Audel CLA 2005-05-27 09:24:37 EDT
Verified in i20050527-0010