summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2006-05-16 12:30:08 +0000
committeracolyer <acolyer>2006-05-16 12:30:08 +0000
commitfc7db25dad5d302221669c7cfdb4890f061d2e9e (patch)
tree234bc8313ac7902b28f38792200592be012c5844 /tests
parentb14d5e8a49519156f711d9e6ee15a6ff6c729b69 (diff)
downloadaspectj-fc7db25dad5d302221669c7cfdb4890f061d2e9e.tar.gz
aspectj-fc7db25dad5d302221669c7cfdb4890f061d2e9e.zip
fix for pr141945, misleading message re. aop.xml
Diffstat (limited to 'tests')
-rw-r--r--tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java b/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java
index caa4a9ac7..3bb30da74 100644
--- a/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java
+++ b/tests/java5/ataspectj/ataspectj/ltwreweavable/MainReweavableLogging.java
@@ -37,7 +37,7 @@ public class MainReweavableLogging implements Advisable {
}
public static void main (String[] args) {
- String ERROR_STRING = "error aspect 'ataspectj.ltwreweavable.AspectReweavableLogging' woven into 'ataspectj.ltwreweavable.MainReweavableLogging' must be declared in an aop.xml file.";
+ String ERROR_STRING = "error aspect 'ataspectj.ltwreweavable.AspectReweavableLogging' woven into 'ataspectj.ltwreweavable.MainReweavableLogging' must be defined to the weaver (placed on the aspectpath, or defined in an aop.xml file if using LTW).";
if(Boolean.getBoolean("aspectDeclared")){
//if the aspect is declared there should not be an error
if (MessageHolder.startsAs( Arrays.asList( new String[]{ ERROR_STRING } )) ) {