[java] More tests for preview; minor fixes

GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
This commit is contained in:
Tagir Valeev
2022-07-22 11:54:00 +00:00
committed by intellij-monorepo-bot
parent 7a1f179f41
commit 9c6aeba5b4
726 changed files with 874 additions and 767 deletions
@@ -1,14 +1,14 @@
// "Add 'catch' clause(s)" "true"
// "Add 'catch' clause(s)" "true-preview"
class a {
void g() throws Exception {
}
// initializer
// initializer
{
try {
// comment before
// comment before
g();
// comment after
// comment after
} catch (Exception e) {
<caret><selection>throw new RuntimeException(e);</selection>
}