summaryrefslogtreecommitdiffstats
path: root/tests/bugs181/431976
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-06-11 07:43:00 -0700
committerAndy Clement <aclement@gopivotal.com>2014-06-11 07:43:00 -0700
commit4f89239adb00058765f874be1e0800c5d40fa81c (patch)
tree8d0cde54f2e04f25f8d8277409597f7c534e5b31 /tests/bugs181/431976
parent6e5c19b7529d637084564d155d1515f6c4058e05 (diff)
downloadaspectj-4f89239adb00058765f874be1e0800c5d40fa81c.tar.gz
aspectj-4f89239adb00058765f874be1e0800c5d40fa81c.zip
Fix 431976: invalid unused warnings on tejpsp
Diffstat (limited to 'tests/bugs181/431976')
-rw-r--r--tests/bugs181/431976/Code.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs181/431976/Code.java b/tests/bugs181/431976/Code.java
new file mode 100644
index 000000000..c880a937e
--- /dev/null
+++ b/tests/bugs181/431976/Code.java
@@ -0,0 +1,15 @@
+import org.aspectj.lang.annotation.SuppressAjWarnings;
+
+privileged aspect BugThisJoinPoint {
+
+ @SuppressAjWarnings("adviceDidNotMatch")
+ void around(): execution(boolean forceFocus ()) {
+ thisEnclosingJoinPointStaticPart.getSignature();
+ }
+
+ @SuppressAjWarnings("adviceDidNotMatch")
+ void around(): execution(boolean forceFocus ()) {
+ thisJoinPointStaticPart.getSignature();
+ }
+}
+