Community
Participate
Working Groups
Build 3.4m5 The following code should be accepted, and Eclipse currently rejects it: public class X<U, V> { static class Table { X.Table.State<String> s; Table() { this.s = new X.Table.State<String>(); } static class State<T> { } } } It currently produces the 2 (invalid) errors: ---------- 1. ERROR in X.java (at line 4) X.Table.State<String> s; ^^^^^^^^^^^^^ The member type X.Table.State cannot be qualified with a parameterized type, since it is static. Remove arguments from qualifying type X.Table ---------- 2. ERROR in X.java (at line 7) this.s = new X.Table.State<String>(); ^^^^^^^^^^^^^ The member type X.Table.State cannot be qualified with a parameterized type, since it is static. Remove arguments from qualifying type X.Table ----------
Added GenericTypeTest#1299-1300
Patch combined with https://bugs.eclipse.org/bugs/attachment.cgi?id=90846 Also added GenericTypeTest#1301-1302 Released for 3.4M6. Fixed
Released fix in 3.3.x maintenance branch (post 3.3.2)
Verified for 3.4M6 using I20080324-1300.
*** Bug 226145 has been marked as a duplicate of this bug. ***