title: Java Future always returning null
body: <p>Hey I got a quick question about Java Futures. I broke down the problem to this snippet:</p>
  
  <pre><code>    ExecutorService service = Executors.newCachedThreadPool();
      try {
          System.out.println(service.submit(new FutureTask&lt;&gt;(() -&gt; true)).get());
      } catch (InterruptedException e1) {
          e1.printStackTrace();
      } catch (ExecutionException e1) {
          e1.printStackTrace();
      }
  </code></pre>
  
  <p>I expect this to output "true" on my terminal. But instead it always outputs null. What am I missing?</p>