aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs180
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-04-04 12:33:45 -0700
committerAndy Clement <aclement@gopivotal.com>2014-04-04 12:33:45 -0700
commit331399f82b33cc4cff8239aab18e405dfe0dd2b9 (patch)
tree4ccddf5fe4e75a25ca48d53ad7d1d55aed935081 /tests/bugs180
parent4ffb0fd285609fa955450964e54fc3f8fd2996ad (diff)
downloadaspectj-331399f82b33cc4cff8239aab18e405dfe0dd2b9.tar.gz
aspectj-331399f82b33cc4cff8239aab18e405dfe0dd2b9.zip
Fix 431976: thisJoinPoint considered uninitialized variable
Diffstat (limited to 'tests/bugs180')
-rw-r--r--tests/bugs180/pr431976/Code.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs180/pr431976/Code.java b/tests/bugs180/pr431976/Code.java
new file mode 100644
index 000000000..a58ea4ecc
--- /dev/null
+++ b/tests/bugs180/pr431976/Code.java
@@ -0,0 +1,10 @@
+import org.aspectj.lang.annotation.SuppressAjWarnings;
+
+privileged aspect BugThisJoinPoint {
+
+ @SuppressAjWarnings("adviceDidNotMatch")
+ void around(): execution(boolean forceFocus ()) {
+ thisJoinPoint.getThis();
+ }
+}
+