Bug 79687 - [1.5][compiler] Overriding generic method causes unchecked conversion warning
Summary: [1.5][compiler] Overriding generic method causes unchecked conversion warning
Status: RESOLVED DUPLICATE of bug 81618
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 M5   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 79346 80099 81017 81415 81890 82032 87995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-29 13:12 EST by Dave Latham CLA
Modified: 2005-03-16 04:42 EST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***