void (String[] args) { List bar = new ArrayList(); AbstractList foo = (<warning descr="Cast to 'ArrayList' can be weakened to 'AbstractList'">ArrayList</warning>) bar; List foo2 = (ArrayList) bar; double x = (double)3.0f; }