HashMap<String, ArrayList<? extends Serializable>> map = new HashMap<String, ArrayList<ArrayList>>();
This does not compile. To the best of my knowledge on Java Generics, it should. And this:
ArrayList<? extends Serializable> c = new ArrayList<ArrayList<String>>();
successfully compiles.
Can anyone say why the above wouldn't compile?