Bug 204624

Summary: [1.5][compiler] No error on abstract method implementation with missing parameter generics
Product: [Eclipse Project] JDT Reporter: Nick Radov <nradov>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: eric_jodet, jerome_lanneluc, philippe_mulet
Version: 3.3Flags: philippe_mulet: pmc_approved+
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Test case
none
Proposed patch none

Description Nick Radov CLA 2007-09-25 19:57:16 EDT
Created attachment 79177 [details]
Test case

Build ID: I20070621-1340

Steps To Reproduce:
Try the code in the attachment. It compiles with no errors in Eclipse, although there are two warnings. But the Sun Java 1.5.0_12 command-line compiler fails on the same code with this error.

org\eclipse\bugs\AbstractTest.java:9: org.eclipse.bugs.TestImpl is not abstract and does not override abstract method <T>go(java.util.List<T>) in org.eclipse.bugs.AbstractTest
class TestImpl extends AbstractTest {
^

The Eclipse compiler should be consistent with the Sun compiler.

There are several other bugs which I think may be related: Bug 159851, Bug 166355, Bug 203905.
Comment 1 Kent Johnson CLA 2007-09-28 15:47:01 EDT
Created attachment 79423 [details]
Proposed patch
Comment 2 Kent Johnson CLA 2007-10-01 10:53:59 EDT
Released into HEAD for 3.4M3

Added MethodVerifyTest test148
Comment 3 Kent Johnson CLA 2007-10-01 14:02:17 EDT
Philippe - need a +1 for 3.3.2
Comment 4 Philipe Mulet CLA 2007-10-08 05:51:25 EDT
+1 for 3.3.2
Comment 5 Kent Johnson CLA 2007-10-09 10:11:28 EDT
Released for 3.3.2
Comment 6 Frederic Fusier CLA 2007-10-29 06:26:46 EDT
Verified for 3.4M3 using I20071029-0010 build.
Comment 7 Eric Jodet CLA 2008-01-24 06:17:11 EST
Verified for 3.3.2 using M20080123-0800 build