Community
Participate
Working Groups
The following code compiles fine in 1.7: class MyClass1<E, D extends E> {} class MyClass2<E extends D, D> {} but reports an error in 1.6. This is fine according to bug 209149. Now the problem is that the fix for this bug is causing a StackoverFlow error with this code: class X<E extends E> {} It should report a cycle.
Srikanth, please investigate.
The test case has been added to bug 335751's patch. Closing as duplicate. *** This bug has been marked as a duplicate of bug 335751 ***
Verified for 3.7M6 using build I20110301-1537.