From 331399f82b33cc4cff8239aab18e405dfe0dd2b9 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Fri, 4 Apr 2014 12:33:45 -0700 Subject: Fix 431976: thisJoinPoint considered uninitialized variable --- tests/bugs180/pr431976/Code.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/bugs180/pr431976/Code.java (limited to 'tests/bugs180') 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(); + } +} + -- cgit v1.2.3