unchecked assignment warning question
843793Nov 7 2003 — edited Nov 9 2003Is there any way to get around "unchecked assignment" compiler
warnings for these situations?
1.
ObjectInputStream ois;
List<someType> list;
Object o = ois.readObject();
list.add(o);
2.
Class<someType> c = Class.forName("someClassName");
Thanks,
Eric