Community
Participate
Working Groups
N20050725-0010 import java.util.List; class Bug<E> { void method(Object o) { if (o instanceof List<E>[]) { //incorrect: bug 104695 List<E>[] es= (List<E>[]) o; //unchecked } } } The cast to (List<E>[]) should be marked as unchecked cast.
Works as expected in latest. Added GenericTypeTest#test0955