aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder/testsrc_j8/TypeAnnoOnExceptionParameter.java
blob: 755d34dd84c0a7b2855009b4aea051a2dce0b3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
public class TypeAnnoOnExceptionParameter {
  class Throwable2 extends Throwable {}
  class Throwable3 extends Throwable {}
  public void m() {
    try {
      foo();
    } catch (@Anno Throwable3 | @Anno(99) Throwable2 t) {
    }
  }
  public void foo() throws Throwable2,Throwable3 {}
}