title: Insert ")" to complete Expression error while new HashMap as parameter
body: <p>I get the error: <code>Syntax error, insert ")" to complete Expression</code> when I am trying to do this: </p>
  
  <pre><code>public interface IConectorT extends Library {
  HashMap&lt;String, String&gt; xx= new HashMap&lt;&gt;();
  IConectorT INSTANCE = (IConectorT) Native.loadLibrary("Eloqua API", IConectorT.class, new 
  HashMap{{
        put("DeleteCustomObjectRecord", "DeleteCustomObjectRecord@8");
        }});
  }
  </code></pre>
  
  <p>Why is that? I thought its because it isnt JRE 1.7 but changing to that didn't help.</p>