Report question

Question: Why does new HashMap<> produce an error in JDK 1.6 but not 1.7