I have a maven project configured to use Java 8 and all works fine, eclipse compiles code like:
Map map = new HashMap<>();
What worked for me is enabling/checking Java > Editor > Content Assist > Advanced >Java Proposals. (Upper part of the settings page)
Java > Editor > Content Assist > Advanced >