langtools/test/tools/javac/ThrowsIntersection_3.java
changeset 5014 3651144e76f0
parent 10 06bc494ca11e
child 5520 86e4b9a9da40
equal deleted inserted replaced
5013:e942b2e52479 5014:3651144e76f0
    28  * @author maddox
    28  * @author maddox
    29  *
    29  *
    30  * @run compile/fail ThrowsIntersection_3.java
    30  * @run compile/fail ThrowsIntersection_3.java
    31  */
    31  */
    32 
    32 
       
    33 package ThrowsIntersection_3;
       
    34 
    33 class Ex1 extends Exception {}
    35 class Ex1 extends Exception {}
    34 class Ex2 extends Exception {}
    36 class Ex2 extends Exception {}
    35 
    37 
    36 interface a {
    38 interface a {
    37   int m1() throws Ex1;
    39   int m1() throws Ex1;