aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-12-19 14:17:33 +0000
committeravasseur <avasseur>2005-12-19 14:17:33 +0000
commite4ef223b7dc33f517c3e61d5d54b93f983ff9984 (patch)
treeff8248ed02093e776208bd05bb921840592facef /tests/java5
parent45190b937a97b3a1f37c327da579d0c2f0b90dcf (diff)
downloadaspectj-e4ef223b7dc33f517c3e61d5d54b93f983ff9984.tar.gz
aspectj-e4ef223b7dc33f517c3e61d5d54b93f983ff9984.zip
this was all corrupted tests
Diffstat (limited to 'tests/java5')
-rw-r--r--tests/java5/decps/Basic2b.java6
-rw-r--r--tests/java5/decps/Basic3b.java11
2 files changed, 8 insertions, 9 deletions
diff --git a/tests/java5/decps/Basic2b.java b/tests/java5/decps/Basic2b.java
index 03c88f80d..b92b4421e 100644
--- a/tests/java5/decps/Basic2b.java
+++ b/tests/java5/decps/Basic2b.java
@@ -14,13 +14,13 @@ public class Basic2b {
interface I {
}
- static class IImpl implements I {
+ public static class IIimpl implements I {
public void m2() { }
}
- @DeclareParents(value="Basic2b",defaultImpl=X.IImpl.class)
- private I simplefield;;
+ @DeclareParents(value="Basic2b",defaultImpl=X.IIimpl.class)
+ private I simplefield;
@Before("execution(* *(..))")
diff --git a/tests/java5/decps/Basic3b.java b/tests/java5/decps/Basic3b.java
index 1d4ecfe5a..cfbd582c7 100644
--- a/tests/java5/decps/Basic3b.java
+++ b/tests/java5/decps/Basic3b.java
@@ -16,22 +16,21 @@ public class Basic3b {
@Aspect class X {
interface I {
- public void m2();
- public void m3();
- public void m4();
+ public void m2();
+ public void m3();
+ public void m4();
}
- static class IImpl implements I {
+ public static class IIimpl implements I {
public void m2() { }
public void m3() { }
public void m4() { }
}
- @DeclareParents(value="Basic3b",defaultImpl=IImpl.class)
+ @DeclareParents(value="Basic3b",defaultImpl=X.IIimpl.class)
private I simplefield;
-
@Before("call(* *(..))")
public void advice1() {}