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