Join Slack
Powered by
Object -> Foo is checked by the checkcast instr...
# android
j
jw
03/29/2017, 10:21 PM
Object -> Foo is checked by the checkcast instruction that is emitted. Object -> List<Foo> can check for List, but since generics are erased in the bytecode the generic you specify is unchecked
Open in Slack
Previous
Next