Bug 113765 - [1.5] Insufficient recovery in generic method
Summary: [1.5] Insufficient recovery in generic method
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 04:57 EDT by Philipe Mulet CLA
Modified: 2005-10-28 11:56 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-10-26 04:57:05 EDT
Build 3.2M2

On following testcase, the method type parameters do not seem to get recovered.
(syntax error is missing closing '>' in method return types)

import java.util.*;
public interface X<T> {
	<K> List<Map<K,T> foo(Map<T,K> m);
	<K,E> List<Map<K,E> bar(Map<T,K> m, Map<T,E> e);
}
Comment 1 David Audel CLA 2005-10-27 09:03:17 EDT
Fixed and tests added
  GenericDietRecoveryTest#test0021() -> test0026()

Now, the recovery try to attach parsed method type parameters to the next
recovered method.
Comment 2 Olivier Thomann CLA 2005-10-28 11:56:35 EDT
Verified for 3.2 M3 using build I20051025-0800+JDT/Core v_618a using the ASTView.