diff options
Diffstat (limited to 'tests/bugs1611/pr332388_2')
-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(); + } +} |