espelhamento de
https://github.com/eclipse-aspectj/aspectj.git
sincronizado 2024-08-26 05:57:44 +02:00
16 linhas
281 B
Java
16 linhas
281 B
Java
|
|
// pr 48522
|
|
|
|
public class SofteningTooMuch {
|
|
public static void main(String args[]) {
|
|
throw new Exception("should be a compiler error here");
|
|
}
|
|
}
|
|
|
|
class FooException extends Exception {}
|
|
|
|
aspect ExcPolicy {
|
|
declare soft: FooException: execution(* SofteningTooMuch.*(..));
|
|
}
|
|
|