aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/pertypewithin/H.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/pertypewithin/H.java')
-rw-r--r--tests/java5/pertypewithin/H.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/java5/pertypewithin/H.java b/tests/java5/pertypewithin/H.java
index fd23c3e57..8de290057 100644
--- a/tests/java5/pertypewithin/H.java
+++ b/tests/java5/pertypewithin/H.java
@@ -1,7 +1,8 @@
-public aspect H pertypewithin(G) {
-
+import org.aspectj.lang.annotation.SuppressAjWarnings;
- after(): call(* *(..)) {
- System.err.println("advice running");
- }
+public aspect H pertypewithin(G) {
+ @SuppressAjWarnings("adviceDidNotMatch")
+ after(): call(* *(..)) {
+ System.err.println("advice running");
+ }
}