This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I have the following variable: HashMap<Resource, List<String>> results = new HashMap<>(); I try to add a new element... for example: results.put(null, new LinkedList<String>()); After I type LinkedList, the IDE suggests LinkedList<String>() ... however after selecting this option, it is replaced with LinkedList<>() ... which is immediately marked as an error (cannot be derived by the compiler). Diamond notation should not be automatically inserted in the case of using a particular implementation of an interface (and possibly, inheritance)
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/39807ea7dff4