Bug 140772

Summary: [1.5][compiler] calls to static generic functions
Product: [Eclipse Project] JDT Reporter: Joachim Lusiardi <shing19m>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 RC3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Joachim Lusiardi CLA 2006-05-09 07:36:17 EDT
The following code fails to compile with 3.2RC3 but compiles with javac on command line and in Eclipse M20060118-1600

package generics;

import java.util.Collections;
import java.util.Set;

public class Generics3 {
	public Set<Object> keySet() {
		return Collections.<Object> emptySet();
	}
}

its a call to a generic static function.
Comment 1 Philipe Mulet CLA 2006-05-09 11:53:10 EDT
I cannot reproduce in 3.2RC3.
Comment 2 Philipe Mulet CLA 2006-05-09 12:00:03 EDT
Closing as worksforme in 3.2RC3.
Added GenericTypeTest#test0980