| Summary: | [1.7][compiler] Stackoverflow error if compiled in 1.7 compliance mode | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
| Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
| Status: | VERIFIED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jarthana |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M6 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
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. |
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.