1454 Env<GenContext> env, |
1454 Env<GenContext> env, |
1455 int startpc, int endpc, |
1455 int startpc, int endpc, |
1456 List<Integer> gaps) { |
1456 List<Integer> gaps) { |
1457 if (startpc != endpc) { |
1457 if (startpc != endpc) { |
1458 List<JCExpression> subClauses = TreeInfo.isMultiCatch(tree) ? |
1458 List<JCExpression> subClauses = TreeInfo.isMultiCatch(tree) ? |
1459 ((JCTypeDisjunction)tree.param.vartype).alternatives : |
1459 ((JCTypeUnion)tree.param.vartype).alternatives : |
1460 List.of(tree.param.vartype); |
1460 List.of(tree.param.vartype); |
1461 while (gaps.nonEmpty()) { |
1461 while (gaps.nonEmpty()) { |
1462 for (JCExpression subCatch : subClauses) { |
1462 for (JCExpression subCatch : subClauses) { |
1463 int catchType = makeRef(tree.pos(), subCatch.type); |
1463 int catchType = makeRef(tree.pos(), subCatch.type); |
1464 int end = gaps.head.intValue(); |
1464 int end = gaps.head.intValue(); |