Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Created October 22, 2011 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benmmurphy/1306071 to your computer and use it in GitHub Desktop.
Save benmmurphy/1306071 to your computer and use it in GitHub Desktop.
Eclipse Verify Error (20110916-0149)
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