diff options
author | aclement <aclement> | 2009-02-24 22:36:37 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-02-24 22:36:37 +0000 |
commit | 69ba51113aff39f33a487006036de80474f42cb2 (patch) | |
tree | d2db2c7d3e563e60f73af2df1a038503548fb10b /tests/multiIncremental/pr265729_lib | |
parent | 69903ea6029fe4be457adb5ef6019e44d5a6d1e3 (diff) | |
download | aspectj-69ba51113aff39f33a487006036de80474f42cb2.tar.gz aspectj-69ba51113aff39f33a487006036de80474f42cb2.zip |
265729: get return type and param types correct for ITDs
Diffstat (limited to 'tests/multiIncremental/pr265729_lib')
-rw-r--r-- | tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/App.java | 2 | ||||
-rw-r--r-- | tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/aspects/InterTypeAspect.aj | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/App.java b/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/App.java index a49827673..b9829afaa 100644 --- a/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/App.java +++ b/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/App.java @@ -9,7 +9,7 @@ public class App { //System.out.println( "Hello World!" ); //should throw compiler error, OK App app = new App(); - app.foo(42); + app.foo(42,null,null); } diff --git a/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/aspects/InterTypeAspect.aj b/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/aspects/InterTypeAspect.aj index 39c3ae769..dfcb52ba7 100644 --- a/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/aspects/InterTypeAspect.aj +++ b/tests/multiIncremental/pr265729_lib/base/src/be/cronos/aop/aspects/InterTypeAspect.aj @@ -1,7 +1,7 @@ package be.cronos.aop.aspects; - +import java.io.*; import be.cronos.aop.InterTypeAspectSupport; - +import java.util.List; public aspect InterTypeAspect { public interface InterTypeAspectInterface { @@ -9,7 +9,7 @@ public aspect InterTypeAspect { declare parents : (@InterTypeAspectSupport *) implements InterTypeAspectInterface; - public String InterTypeAspectInterface.foo(int i) { + public String InterTypeAspectInterface.foo(int i,List list,Serializable a) { return "bar"; } |