title: Is using a labeled break a good practice in Java?
body: <p>I'm staring at some old code from 2001 and came across this statement:</p>
  
  <pre><code>   else {
       do {
         int c = XMLDocumentFragmentScannerImpl.this.scanContent();
         if (c == 60) {
           XMLDocumentFragmentScannerImpl.this.fEntityScanner.scanChar();
           XMLDocumentFragmentScannerImpl.this.setScannerState(1);
           break label913;
         }
  </code></pre>
  
  <p>I had never seeen this before, and discovered labeled breaks here:</p>
  
  <p><a href="http://docs.oracle.com/javase/tutorial/java/nutsandbolts/branch.html" rel="noreferrer">http://docs.oracle.com/javase/tutorial/java/nutsandbolts/branch.html</a></p>
  
  <p>Doesn't this essentially function like <code>goto</code>?  Is it even good practice to use it?  It makes me uneasy.  </p>