aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testdata/src1
diff options
context:
space:
mode:
authoraclement <aclement>2004-05-14 12:51:52 +0000
committeraclement <aclement>2004-05-14 12:51:52 +0000
commit9ebfc84930fde3f56a0166a5abb671029d457ea4 (patch)
treecaecc64856e88fcc1beaaeddd1229e37a621343e /org.aspectj.ajdt.core/testdata/src1
parent7051338a0064c3a43223e26e3ace8b64258200d7 (diff)
downloadaspectj-9ebfc84930fde3f56a0166a5abb671029d457ea4.tar.gz
aspectj-9ebfc84930fde3f56a0166a5abb671029d457ea4.zip
Fix and tests for Bugzilla Bug 62227
Load Time Weaving aborts on any kind of warning (declare/xlint)
Diffstat (limited to 'org.aspectj.ajdt.core/testdata/src1')
-rw-r--r--org.aspectj.ajdt.core/testdata/src1/LTWDeclareError.aj9
-rw-r--r--org.aspectj.ajdt.core/testdata/src1/LTWDeclareWarning.aj9
2 files changed, 18 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testdata/src1/LTWDeclareError.aj b/org.aspectj.ajdt.core/testdata/src1/LTWDeclareError.aj
new file mode 100644
index 000000000..4010ef2cd
--- /dev/null
+++ b/org.aspectj.ajdt.core/testdata/src1/LTWDeclareError.aj
@@ -0,0 +1,9 @@
+public aspect LTWDeclareError {
+
+ pointcut method () :
+ execution(* LTWHelloWorld.println(..));
+
+ declare error : method () :
+ "LTWDeclareError.println()";
+
+}
diff --git a/org.aspectj.ajdt.core/testdata/src1/LTWDeclareWarning.aj b/org.aspectj.ajdt.core/testdata/src1/LTWDeclareWarning.aj
new file mode 100644
index 000000000..2d85d3310
--- /dev/null
+++ b/org.aspectj.ajdt.core/testdata/src1/LTWDeclareWarning.aj
@@ -0,0 +1,9 @@
+public aspect LTWDeclareWarning {
+
+ pointcut method () :
+ execution(* LTWHelloWorld.println(..));
+
+ declare warning : method () :
+ "LTWDeclareWarning.println()";
+
+}