Skip to content

Instantly share code, notes, and snippets.

@banthar
Created July 10, 2016 16:00
Show Gist options
  • Save banthar/b0d8a3c71c46219db788cc943e2c160b to your computer and use it in GitHub Desktop.
Save banthar/b0d8a3c71c46219db788cc943e2c160b to your computer and use it in GitHub Desktop.
public class Test {
static int a;
public static boolean f(int b) {
while(true) {
if( a==3 ) {
return true;
}
try {
int c = a + b;
if ( c == a ) {
return true;
}
} finally {
try {
return true;
} catch(NullPointerException | IllegalStateException e) {
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment