Created
October 22, 2011 14:40
-
-
Save benmmurphy/1306071 to your computer and use it in GitHub Desktop.
Eclipse Verify Error (20110916-0149)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sslnpn; | |
import java.io.IOException; | |
import org.junit.Test; | |
public class StackMapTest { | |
private boolean check; | |
private boolean check2; | |
private int state; | |
@Test | |
public void testStackMap() throws Exception { | |
closeInternal(); | |
} | |
private void closeInternal() throws IOException { | |
try { | |
switch (state) { | |
default: | |
synchronized (this) { | |
if (check) { | |
return; | |
} | |
} | |
if (check2) { | |
return; | |
} | |
break; | |
} | |
} finally { | |
synchronized (this) { | |
this.notifyAll(); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment