From: aclement Date: Tue, 24 Feb 2009 22:36:37 +0000 (+0000) Subject: 265729: get return type and param types correct for ITDs X-Git-Tag: pre268419~80 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=69ba51113aff39f33a487006036de80474f42cb2;p=aspectj.git 265729: get return type and param types correct for ITDs --- diff --git a/tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java b/tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java index 3e6566992..d2de59344 100644 --- a/tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java +++ b/tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java @@ -7,7 +7,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/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"; } diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index 677b6ad6b..0a45de9d2 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -66,7 +66,7 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa String cli = "pr265729_client"; initialiseProject(cli); - addClasspathEntry(cli, new File("../lib/junit/junit.jar")); + // addClasspathEntry(cli, new File("../lib/junit/junit.jar")); configureAspectPath(cli, getProjectRelativePath(lib, "bin")); build(cli); checkWasFullBuild(); @@ -91,17 +91,35 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa // Node in tree: I.g(java.lang.String) [inter-type method] // Handle: =pr265729_client