blob: 279cd7462c155740617da34dd40397f72c27b943 [file]
// "Unwrap 'else' branch (changes semantics)" "true"
class T {
void f(Object o, boolean b) {
synchronized (o) {
if (b)
System.out.println("When true");
<caret>else {
throw new RuntimeException("Otherwise");
}
}
}
}