aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testdata/src1/LTWDeclareWarning.aj
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/LTWDeclareWarning.aj
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/LTWDeclareWarning.aj')
-rw-r--r--org.aspectj.ajdt.core/testdata/src1/LTWDeclareWarning.aj9
1 files changed, 9 insertions, 0 deletions
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()";
+
+}