1
0
şunun yansıması https://github.com/eclipse-aspectj/aspectj.git eşitlendi 2024-08-26 05:57:44 +02:00
org.aspectj/tests/bugs/SofteningTooMuch.java

16 satır
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.*(..));
}