Community
Participate
Working Groups
The following code javac reports the unchecked conversion, eclipse doesn't: ---------- import java.util.Collections; import java.util.Comparator; import java.util.List; public final class ListUtils { public static List sort(final List list,final Comparator comparator) { Collections.sort(list,comparator); //this line is where javac complains return list; } }
Raw generic method invocation were not reported. Added support and GenericTypeTest#test506.
Fixed (released postM5 since we froze already)
Verified in I20050330-0500