title: One-liner to load files into java.util.Properties
body: <p>I've many java properties files containing credentials and other configurations, and I'm looking for the most compact code to load these in both Nashorn's javascript and Java.</p>
  
  <p>So far, I'm left with 2 lines:</p>
  
  <pre><code>credentials = new java.util.Properties();
  credentials.load(new java.io.FileInputStream("credentials.properties"));
  </code></pre>
  
  <p>I've tried this obvious merge but it does not work in Nashorn:</p>
  
  <pre><code>credentials = (new java.util.Properties()).load(new java.io.FileInputStream("credentials.properties"));
  </code></pre>
  
  <p>Can these be merged as a one-liner? It does not matter if readability is deeply affected.</p>