diff options
Diffstat (limited to 'tests/bugs/InterfaceConstructor.java')
-rw-r--r-- | tests/bugs/InterfaceConstructor.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bugs/InterfaceConstructor.java b/tests/bugs/InterfaceConstructor.java index 9d10b2a6d..ce91e5093 100644 --- a/tests/bugs/InterfaceConstructor.java +++ b/tests/bugs/InterfaceConstructor.java @@ -1,3 +1,5 @@ +import org.aspectj.lang.annotation.SuppressAjWarnings; + interface I { } public class InterfaceConstructor implements I { @@ -7,7 +9,7 @@ public class InterfaceConstructor implements I { } aspect NoSuchJP { - before(): execution(I.new(..)) { // error expected + @SuppressAjWarnings("adviceDidNotMatch") before(): execution(I.new(..)) { // error expected // No constructor-execution on interface type } |