Bug 209149

Summary: [1.7][compiler] 1.7 compliance allows type params to be declared in any order
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david_audel
Version: 3.4   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch with testcase none

Description Philipe Mulet CLA 2007-11-08 04:59:49 EST
The following program should compile clean:

class MyClass1<E, D extends E> {}
class MyClass2<E extends D, D> {}

Also see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6192945
Comment 1 Philipe Mulet CLA 2007-11-08 05:00:22 EST
Would make this behavior compliance level dependent.
Comment 2 Kent Johnson CLA 2008-04-17 11:27:41 EDT
See bug 222326
Comment 3 Kent Johnson CLA 2008-04-18 12:13:53 EDT
Created attachment 96617 [details]
Proposed patch with testcase
Comment 4 Kent Johnson CLA 2008-04-18 13:10:10 EDT
Released for 3.4M7
Comment 5 David Audel CLA 2008-04-28 11:12:13 EDT
Verified for 3.4M7 using I20080427-2000