diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-04-04 12:33:45 -0700 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-04-04 12:33:45 -0700 |
commit | 331399f82b33cc4cff8239aab18e405dfe0dd2b9 (patch) | |
tree | 4ccddf5fe4e75a25ca48d53ad7d1d55aed935081 /tests/bugs180 | |
parent | 4ffb0fd285609fa955450964e54fc3f8fd2996ad (diff) | |
download | aspectj-331399f82b33cc4cff8239aab18e405dfe0dd2b9.tar.gz aspectj-331399f82b33cc4cff8239aab18e405dfe0dd2b9.zip |
Fix 431976: thisJoinPoint considered uninitialized variable
Diffstat (limited to 'tests/bugs180')
-rw-r--r-- | tests/bugs180/pr431976/Code.java | 10 |
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(); + } +} + |