mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
can complete normally: break inside switch (IDEA-178304)
break inside switch when switch is selected should not lead to abnormal completion
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
|
||||
import java.util.concurrent.ExecutorService;
|
||||
|
||||
class Test {
|
||||
private void m(ExecutorService service, int i) {
|
||||
service.submit(() -> {
|
||||
switch (i) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user