Community
Participate
Working Groups
Build 3.4M3 A warning got introduced to flag invocations of non-generic method with type argument syntax, but it doesn't show up for constructor invocations. e.g. The following code should exhibit 3 warnings. public class X { public X(String t){ System.out.println(t); } public static void main(String[] args) { class Local extends X { Local() { <String>super("FAILED"); // warn? } }; new <String>Local(); // warn? new <String>Local(){}; // warn? } }
Added GenericTypeTest#test1211 (and tuned pre-existing ones)
Also added IProblem#UnusedTypeArgumentsForConstructorInvocation
Released for 3.4M4. Fixed
Verified for 3.4M4 using build I20071210-1800.