Community
Participate
Working Groups
On the following test case (which is GenericTypeTest#245) and a few others: public class X <T> { <G> T foo(G g) { return null; } public static void main(String[] args) { X rx = new X(); rx.<String>foo("hello"); // Eclipse error here } } javac 7 does not complain, as if some slack was now allowed for raw methods to be used as their non-rawified counterparts. This might indicate an inflexion in the specification intents, or else a mere javac bug (will check with more recent versions - tried 7 b24 so far).
Created attachment 117313 [details] Proposed patch
Created attachment 117331 [details] Proposed patch tuned other existing tests
Released for 3.5M4. Fixed
Need to set compliance to 1.7 to verify.
Verified for 3.5M4 using I20081209-0100