diff options
author | aclement <aclement> | 2010-12-13 20:31:12 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-12-13 20:31:12 +0000 |
commit | 0247be6dac03e2f96a23cdad7d8ce0f120c62f89 (patch) | |
tree | 97271555238b428de9b9f7bfd1741fac9fc2512a /tests/bugs1611 | |
parent | bd5cd17934f61a9e626455b424f4004127f38d94 (diff) | |
download | aspectj-0247be6dac03e2f96a23cdad7d8ce0f120c62f89.tar.gz aspectj-0247be6dac03e2f96a23cdad7d8ce0f120c62f89.zip |
332388: test and fix
Diffstat (limited to 'tests/bugs1611')
-rw-r--r-- | tests/bugs1611/pr332388_2/A.java | 6 | ||||
-rw-r--r-- | tests/bugs1611/pr332388_2/M.java | 1 | ||||
-rw-r--r-- | tests/bugs1611/pr332388_2/MyAspect.java | 9 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs1611/pr332388_2/A.java b/tests/bugs1611/pr332388_2/A.java new file mode 100644 index 000000000..75835bc31 --- /dev/null +++ b/tests/bugs1611/pr332388_2/A.java @@ -0,0 +1,6 @@ +public class A<T> { + public void a(Class<? extends M> list) {} + public void x() { + a(null); + } +} diff --git a/tests/bugs1611/pr332388_2/M.java b/tests/bugs1611/pr332388_2/M.java new file mode 100644 index 000000000..9b4658fd8 --- /dev/null +++ b/tests/bugs1611/pr332388_2/M.java @@ -0,0 +1 @@ +public class M {} diff --git a/tests/bugs1611/pr332388_2/MyAspect.java b/tests/bugs1611/pr332388_2/MyAspect.java new file mode 100644 index 000000000..9252d17c1 --- /dev/null +++ b/tests/bugs1611/pr332388_2/MyAspect.java @@ -0,0 +1,9 @@ +import org.aspectj.lang.annotation.*; + +@Aspect +public class MyAspect { + @Before("call(* *.*(..)) && target(x)") + public void myAdvice(CharSequence x) { + System.out.println(); + } +} |