Bug 140772 - [1.5][compiler] calls to static generic functions
Summary: [1.5][compiler] calls to static generic functions
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.2 RC3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 07:36 EDT by Joachim Lusiardi CLA
Modified: 2006-05-09 12:00 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 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