Files
openide/java/java-tests/testData/refactoring/introduceVariable/EnsureCodeBlockForThrows.java
Anna Kozlova bd1a21a02a bump highest language level to 14, prepare to remove 13_preview
GitOrigin-RevId: ec42a9047ba63b0cbaddd8357d11ae2ed56ed6b6
2020-04-01 12:31:42 +00:00

12 lines
237 B
Java

import java.io.IOException;
class MyTest {
private static void switchChain(final int i) throws IOException {
int g = switch (i) {
default -> throw new IOException(<selection>""</selection>);
};
}
}