Re: [jdt-core-dev] Weird usage of Java Generics compiles correctly with JDT (and code runs) but does not compile with Oracle's compiler |
Hi Srikanth
Kind Regards Danilo
[Please use newgroups/forums for discussions of this kind, the current list is for jdt developers]
The code you have posted compiles fine with javac7. I didn't analyze it closely but it would appear the oracle compiler behavior at JDK6 time was incorrect and this got fixed in JDK7.
Srikanth.
_______________________________________________ jdt-core-dev mailing list jdt-core-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/jdt-core-dev