langtools/test/tools/javac/multicatch/Neg02.java
changeset 7203 1153590927f7
parent 5492 515e4b33b335
equal deleted inserted replaced
7081:94cfc5b65bed 7203:1153590927f7
    18                 throw new A();
    18                 throw new A();
    19             }
    19             }
    20             else {
    20             else {
    21                 throw new B();
    21                 throw new B();
    22             }
    22             }
    23         } catch (A | B ex) {  }
    23         } catch (final A | B ex) {
       
    24             ex = new B();
       
    25         }
    24     }
    26     }
    25 }
    27 }