Project: AspectJ
Bug 128699 Incorrect error on "declare" statements
Reported: 2006-02-20 13:08:17 | Status: resolved fixed

The error associated with the declare construct is incorrect. The current message is: "expected one of error, warning, parents, soft, dominates" dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion: "expected one of error, warning, parents, soft, precedence, @type, @method, @constructor, @field"

Files changed in fix:
weaver/src/org/aspectj/weaver/patterns/PatternParser.java