Bug 79687

Summary: [1.5][compiler] Overriding generic method causes unchecked conversion warning
Product: [Eclipse Project] JDT Reporter: Dave Latham <eclipse.org>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: BJGeraci, christophe.avare, gatesda, jactor, mandelin, mikea, tobias_widmer, vulcannis
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dave Latham CLA 2004-11-29 13:12:53 EST
Build: EclipseN20041129

Though it's related, I don't think this is a dupe of 78140
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=78140), the code in that bug no
longer causes the warning, but the following does cause the erroneous warning.

abstract class Base<T> {
	public abstract T foo();
}

public class GenericOverride extends Base<String> {
	public String foo() {
		return "hi";
	}
}
Comment 1 Jerome Lanneluc CLA 2004-12-10 12:39:12 EST
*** Bug 80099 has been marked as a duplicate of this bug. ***
Comment 2 Jerome Lanneluc CLA 2004-12-10 12:57:27 EST
*** Bug 79346 has been marked as a duplicate of this bug. ***
Comment 3 Jerome Lanneluc CLA 2004-12-15 04:38:02 EST
*** Bug 81017 has been marked as a duplicate of this bug. ***
Comment 4 Jerome Lanneluc CLA 2004-12-16 11:01:09 EST
*** Bug 81415 has been marked as a duplicate of this bug. ***
Comment 5 Bart Geraci CLA 2004-12-22 13:19:02 EST
Does the bugfix 81618 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=81618) fix
this bug as well?
Comment 6 Frederic Fusier CLA 2004-12-24 03:36:06 EST
*** Bug 81890 has been marked as a duplicate of this bug. ***
Comment 7 Jerome Lanneluc CLA 2005-01-04 06:30:12 EST
*** Bug 82032 has been marked as a duplicate of this bug. ***
Comment 8 Bart Geraci CLA 2005-01-04 16:21:34 EST
My reported bug, 79346, was marked as a duplicate of this bug. Downloading the
build I20050104-1300 fixed it.
Comment 9 Kent Johnson CLA 2005-01-11 10:58:16 EST
Fix was released before Christmas.

*** This bug has been marked as a duplicate of 81618 ***
Comment 10 Philipe Mulet CLA 2005-03-16 04:42:33 EST
*** Bug 87995 has been marked as a duplicate of this bug. ***