mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
8660cc12bf
throw derivative pointcuts not advised
8 lines
231 B
Java
8 lines
231 B
Java
public class ExceptionBugTest {
|
|
int x;
|
|
class MyException extends Exception {}
|
|
|
|
public void method1() throws Exception { x = 1; } // warning here
|
|
|
|
public void method2() throws MyException { x = 2; } // warning here
|
|
} |