From 476b222ee32dbb61177a58cc764d405c89b6db4f Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 7 Sep 2011 22:56:48 +0000 Subject: [PATCH] 357019: message to lint --- org.aspectj.matcher/src/org/aspectj/weaver/Lint.java | 3 +++ .../src/org/aspectj/weaver/XlintDefault.properties | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java b/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java index 099adcd42..d68ce4142 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java @@ -113,6 +113,9 @@ public class Lint { public final Kind calculatingSerialVersionUID = new Kind("calculatingSerialVersionUID", "calculated SerialVersionUID for type {0} to be {1}"); + public final Kind nonReweavableTypeEncountered = new Kind("nonReweavableTypeEncountered", + "class '{0}' is already woven and has not been built in reweavable mode"); + // there are a lot of messages in the cant find type family - I'm defining an umbrella lint warning that // allows a user to control their severity (for e.g. ltw or binary weaving) public final Kind cantFindType = new Kind("cantFindType", "{0}"); diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/XlintDefault.properties b/org.aspectj.matcher/src/org/aspectj/weaver/XlintDefault.properties index c07f272a7..416fc2d55 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/XlintDefault.properties +++ b/org.aspectj.matcher/src/org/aspectj/weaver/XlintDefault.properties @@ -45,4 +45,6 @@ advisingSynchronizedMethods=warning mustWeaveXmlDefinedAspects=warning missingAspectForReweaving=error -cannotAdviseJoinpointInInterfaceWithAroundAdvice=warning \ No newline at end of file +cannotAdviseJoinpointInInterfaceWithAroundAdvice=warning + +nonReweavableTypeEncountered=error \ No newline at end of file -- 2.39.5