src/share/classes/com/sun/tools/javac/jvm/Gen.java

Print this page

        

*** 1454,1464 **** Env<GenContext> env, int startpc, int endpc, List<Integer> gaps) { if (startpc != endpc) { List<JCExpression> subClauses = TreeInfo.isMultiCatch(tree) ? ! ((JCTypeDisjunction)tree.param.vartype).alternatives : List.of(tree.param.vartype); while (gaps.nonEmpty()) { for (JCExpression subCatch : subClauses) { int catchType = makeRef(tree.pos(), subCatch.type); int end = gaps.head.intValue(); --- 1454,1464 ---- Env<GenContext> env, int startpc, int endpc, List<Integer> gaps) { if (startpc != endpc) { List<JCExpression> subClauses = TreeInfo.isMultiCatch(tree) ? ! ((JCTypeUnion)tree.param.vartype).alternatives : List.of(tree.param.vartype); while (gaps.nonEmpty()) { for (JCExpression subCatch : subClauses) { int catchType = makeRef(tree.pos(), subCatch.type); int end = gaps.head.intValue();