Browse Source

357019: message to lint

tags/V1_6_12
aclement 12 years ago
parent
commit
476b222ee3

+ 3
- 0
org.aspectj.matcher/src/org/aspectj/weaver/Lint.java View File

@@ -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}");

+ 3
- 1
org.aspectj.matcher/src/org/aspectj/weaver/XlintDefault.properties View File

@@ -45,4 +45,6 @@ advisingSynchronizedMethods=warning
mustWeaveXmlDefinedAspects=warning

missingAspectForReweaving=error
cannotAdviseJoinpointInInterfaceWithAroundAdvice=warning
cannotAdviseJoinpointInInterfaceWithAroundAdvice=warning

nonReweavableTypeEncountered=error

Loading…
Cancel
Save