Community
Participate
Working Groups
Sun's javac (1.5.0_05) compiles the sample file without complaint. ecj (0.570, 3.1.0 release) gives the following error: 1. ERROR in IansCollection.java (at line 5) public class IansCollection<E, C extends Collection<E> & Cloneable> ^^^^^^^^^^^^^^ The type IansCollection<E,C> must implement the inherited abstract method Collection<E>.iterator()
Created attachment 28545 [details] Test case
BTW, removing the Cloneable bound gets rid of the error. Thus the summary.
Pasted into Eclipse 3.1.1 win32, got the same error
Reproduced with HEAD contents.
Kent: once addressed pls backport to 3.1.x
Added onto MethodVerify test032 Released into HEAD and 3.1.2 stream
*** Bug 114365 has been marked as a duplicate of this bug. ***
Verified for 3.2M4 in I20051212-2000
Verified for 3.1.2 using build M20060109-1200.