title: Recompile decompiled Java (JD / JAD) source that contains goto instructions
body: <p>(Related question: <a href="https://stackoverflow.com/questions/992930/java-compilers-or-jvm-languages-that-support-goto">Java compilers or JVM languages that support goto?</a>)</p>
  
  <p>I have decompiled a jar (Legally, for debugging purposes) and want to recompile it.</p>
  
  <p>I've used both <a href="http://www.varaneckas.com/jad" rel="nofollow noreferrer">JAD</a> and <a href="http://java.decompiler.free.fr/" rel="nofollow noreferrer">JD</a> and both don't compile due to goto instructions</p>
  
  <p>E.g.</p>
  
  <pre><code>      goto _L1
  
        ...
        L1: 
        return true;
  </code></pre>
  
  <p>Is there an easy way (or any way) to recompile it? (Except to manually refactor and remove the <code>goto</code>'s)</p>
  
  <hr/>