title: Java Bytecode DUP
body: <p>I am wondering why the Exception in the following bytecode (used to throw an Exception) is duplicated.</p>
  
  <pre><code>NEW java/lang/IllegalArgumentException
  DUP
  INVOKESPECIAL java/lang/IllegalArgumentException &lt;init&gt; ()V
  ATHROW
  </code></pre>