try {
if (check) {
while (true) ;
} else {
System.exit(1);
}
} finally {
clear();
}
Q: Is there a case where clear()
never gets executed?
I personally feel that there are no cases where clear() will not be executed.