diff options
author | aclement <aclement> | 2010-12-13 19:13:56 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-12-13 19:13:56 +0000 |
commit | 13fff7553a5871b06c8497d5093dae051a3a570a (patch) | |
tree | d1f5730559534e96495c569b1ce0588f6f14ad4b /tests/bugs1611 | |
parent | b1bc04f163ab7c1c0440df1b23842dcc6f4e3f52 (diff) | |
download | aspectj-13fff7553a5871b06c8497d5093dae051a3a570a.tar.gz aspectj-13fff7553a5871b06c8497d5093dae051a3a570a.zip |
332388: test and fix
Diffstat (limited to 'tests/bugs1611')
-rw-r--r-- | tests/bugs1611/pr332388/A.java | 4 | ||||
-rw-r--r-- | tests/bugs1611/pr332388/B.java | 5 | ||||
-rw-r--r-- | tests/bugs1611/pr332388/M.java | 1 | ||||
-rw-r--r-- | tests/bugs1611/pr332388/MyAspect.java | 10 |
4 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs1611/pr332388/A.java b/tests/bugs1611/pr332388/A.java new file mode 100644 index 000000000..fa035fab2 --- /dev/null +++ b/tests/bugs1611/pr332388/A.java @@ -0,0 +1,4 @@ +public class A<T extends M> { + public void a(T t) { + } +} diff --git a/tests/bugs1611/pr332388/B.java b/tests/bugs1611/pr332388/B.java new file mode 100644 index 000000000..0784bafa7 --- /dev/null +++ b/tests/bugs1611/pr332388/B.java @@ -0,0 +1,5 @@ +public class B<T extends M> extends A<T> { + public void b() { + a(null); + } +} diff --git a/tests/bugs1611/pr332388/M.java b/tests/bugs1611/pr332388/M.java new file mode 100644 index 000000000..9b4658fd8 --- /dev/null +++ b/tests/bugs1611/pr332388/M.java @@ -0,0 +1 @@ +public class M {} diff --git a/tests/bugs1611/pr332388/MyAspect.java b/tests/bugs1611/pr332388/MyAspect.java new file mode 100644 index 000000000..769228378 --- /dev/null +++ b/tests/bugs1611/pr332388/MyAspect.java @@ -0,0 +1,10 @@ +import java.lang.annotation.*; +import org.aspectj.lang.annotation.*; + +@Aspect +public class MyAspect { + @Before("call(* *.*(..))") + public void myAdvice() { + System.out.println(); + } +} |