diff options
author | aclement <aclement> | 2006-07-06 12:12:07 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-06 12:12:07 +0000 |
commit | 369de870280d4ae4f1e984a7bd8a76affb4ed0a2 (patch) | |
tree | 29356950b15fbd6f875ada384ff7b52aa626e9e8 /tests/bugs153 | |
parent | 00669de71fac80693af27127e2587c596c1cf3f1 (diff) | |
download | aspectj-369de870280d4ae4f1e984a7bd8a76affb4ed0a2.tar.gz aspectj-369de870280d4ae4f1e984a7bd8a76affb4ed0a2.zip |
test and fix for 148409
Diffstat (limited to 'tests/bugs153')
-rw-r--r-- | tests/bugs153/pr148409/Blurgh.java | 27 | ||||
-rw-r--r-- | tests/bugs153/pr148409/X.java | 4 | ||||
-rw-r--r-- | tests/bugs153/pr148409/aop.xml | 5 |
3 files changed, 36 insertions, 0 deletions
diff --git a/tests/bugs153/pr148409/Blurgh.java b/tests/bugs153/pr148409/Blurgh.java new file mode 100644 index 000000000..b44c0a9b6 --- /dev/null +++ b/tests/bugs153/pr148409/Blurgh.java @@ -0,0 +1,27 @@ + + +interface SecurityEntity {} +class Goo {} +interface Base {} +interface Hoo<X> { public void m(X x);} + +class Foo<B extends Base, C extends B> extends Goo implements Hoo<B> { + + public void m(B b) { + } +} + + +interface Interface1 extends Base {} + +class Impl1 implements Interface1 {} + + + + +public class Blurgh { + public static void main(String []argv) { + new Foo<Interface1,Impl1>(); + } +} + diff --git a/tests/bugs153/pr148409/X.java b/tests/bugs153/pr148409/X.java new file mode 100644 index 000000000..7011b8b0c --- /dev/null +++ b/tests/bugs153/pr148409/X.java @@ -0,0 +1,4 @@ +aspect X { + before(): staticinitialization(Fo*) { } + before(): call(Fo*.new(..)) { } +} diff --git a/tests/bugs153/pr148409/aop.xml b/tests/bugs153/pr148409/aop.xml new file mode 100644 index 000000000..a0dd0df7b --- /dev/null +++ b/tests/bugs153/pr148409/aop.xml @@ -0,0 +1,5 @@ +<aspectj> + <aspects> + <aspect name="X"/> + </aspects> +</aspectj> |