diff options
author | mwebster <mwebster> | 2006-06-01 16:30:21 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-06-01 16:30:21 +0000 |
commit | 4513e921c89fb3b8f037418a901e49906724e7bd (patch) | |
tree | 8c97c62a5d57f1041326b8e37beb80c59f65f8b9 /tests/java5 | |
parent | a5b31830511167ea4a8b9d750c7e1d16292e0938 (diff) | |
download | aspectj-4513e921c89fb3b8f037418a901e49906724e7bd.tar.gz aspectj-4513e921c89fb3b8f037418a901e49906724e7bd.zip |
fix for 120739
Diffstat (limited to 'tests/java5')
7 files changed, 27 insertions, 1 deletions
diff --git a/tests/java5/ataspectj/ataspectj/EmptyAspect.aj b/tests/java5/ataspectj/ataspectj/EmptyAspect.aj new file mode 100644 index 000000000..b22cf6f76 --- /dev/null +++ b/tests/java5/ataspectj/ataspectj/EmptyAspect.aj @@ -0,0 +1,5 @@ +package ataspectj; + +public aspect EmptyAspect { + +}
\ No newline at end of file diff --git a/tests/java5/ataspectj/ataspectj/aop-dump.xml b/tests/java5/ataspectj/ataspectj/aop-dump.xml index 8290814ab..9fd12bf91 100644 --- a/tests/java5/ataspectj/ataspectj/aop-dump.xml +++ b/tests/java5/ataspectj/ataspectj/aop-dump.xml @@ -1,5 +1,8 @@ <?xml version="1.0"?> <aspectj> + <aspects> + <aspect name="ataspectj.EmptyAspect"/> + </aspects> <weaver options="-XmessageHandlerClass:ataspectj.TestHelper"> <dump within="ataspectj.DumpTestThe*"/> </weaver> diff --git a/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml b/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml index 43b749053..8f0ef772d 100644 --- a/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml +++ b/tests/java5/ataspectj/ataspectj/aop-dumpbeforeandafter.xml @@ -1,5 +1,8 @@ <?xml version="1.0"?> <aspectj> + <aspects> + <aspect name="ataspectj.EmptyAspect"/> + </aspects> <weaver options="-XlazyTjp -verbose"> <dump within="com.foo.bar..*" beforeandafter="true"/> <include within="com.foo..*"/> diff --git a/tests/java5/ataspectj/ataspectj/aop-dumpproxy.xml b/tests/java5/ataspectj/ataspectj/aop-dumpproxy.xml index 1a76c0152..2c8245798 100644 --- a/tests/java5/ataspectj/ataspectj/aop-dumpproxy.xml +++ b/tests/java5/ataspectj/ataspectj/aop-dumpproxy.xml @@ -1,5 +1,8 @@ <?xml version="1.0"?> <aspectj> + <aspects> + <aspect name="ataspectj.EmptyAspect"/> + </aspects> <weaver> <!-- <dump within="*..*Proxy*" beforeandafter="true"/> diff --git a/tests/java5/ataspectj/ataspectj/ltwreweavable/EmptyAtAspect.java b/tests/java5/ataspectj/ataspectj/ltwreweavable/EmptyAtAspect.java new file mode 100644 index 000000000..ee4caa11e --- /dev/null +++ b/tests/java5/ataspectj/ataspectj/ltwreweavable/EmptyAtAspect.java @@ -0,0 +1,9 @@ +package ataspectj.ltwreweavable; + +import org.aspectj.lang.annotation.Aspect; + +@Aspect +public class EmptyAtAspect { + +} +
\ No newline at end of file diff --git a/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-declared.xml b/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-declared.xml index d89b5b3aa..a81c0bc7f 100644 --- a/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-declared.xml +++ b/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-declared.xml @@ -2,5 +2,6 @@ <weaver options="-XmessageHandlerClass:ataspectj.ltwlog.MessageHolder"/> <aspects> <aspect name="ataspectj.ltwreweavable.AspectReweavableLogging"/> + <aspect name="ataspectj.ltwreweavable.EmptyAtAspect"/> </aspects> </aspectj>
\ No newline at end of file diff --git a/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-omitted.xml b/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-omitted.xml index 4b53f2b1f..869cd819e 100644 --- a/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-omitted.xml +++ b/tests/java5/ataspectj/ataspectj/ltwreweavable/aop-ltwreweavable-omitted.xml @@ -1,5 +1,7 @@ <aspectj> <weaver options="-XmessageHandlerClass:ataspectj.ltwlog.MessageHolder"/> <!--aspect is not declared here so as to produce an error --> - <aspects/> + <aspects> + <aspect name="ataspectj.ltwreweavable.EmptyAtAspect"/> + </aspects> </aspectj>
\ No newline at end of file |