aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs170/xmldefs/aop4.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs170/xmldefs/aop4.xml')
-rw-r--r--tests/bugs170/xmldefs/aop4.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs170/xmldefs/aop4.xml b/tests/bugs170/xmldefs/aop4.xml
new file mode 100644
index 000000000..1cf61807b
--- /dev/null
+++ b/tests/bugs170/xmldefs/aop4.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<aspectj>
+ <aspects>
+ <concrete-aspect name="ConjuredUp">
+ <declare-annotation field="* field1(..)" annotation="@AnnoString(&quot;set from xml&quot;)"/>
+ <declare-annotation field="* field1(..)" annotation="@AnnoLong(999)"/>
+ <declare-annotation field="* field1(..)" annotation="@AnnoBoolean(true)"/>
+ <declare-annotation field="* field1(..)" annotation="@AnnoClass(Integer.class)"/>
+ <declare-annotation field="* field2(..)" annotation="@AnnoClass()"/> <!-- testing empty paren -->
+ </concrete-aspect>
+ </aspects>
+
+ <weaver options="-Xreweavable -verbose -XlazyTjp -showWeaveInfo">
+ <include within="Hello4"/>
+ </weaver>
+</aspectj>
+