Bug 384422 - reconciling errors for non-annotation style aspect with annotation style advice
Summary: reconciling errors for non-annotation style aspect with annotation style advice
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 2.2.1   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-05 17:13 EDT by Andrew Clement CLA
Modified: 2012-09-04 17:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2012-07-05 17:13:33 EDT
reported on mailing list.  This gives an unexpected message against the annotation:

String literal not properly closed by double quote

===

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Aspect;


public aspect SomeAspcet {
		@AfterThrowing(pointcut="execution(* *(..))",throwing = "e")
	    public void bizLoggerWithException(BizLoggable logData, JoinPoint thisJoinPoint,Throwable e) {
		;// do some stuff
	    }
}

	
class BizLoggable {}
Comment 1 Andrew Eisenberg CLA 2012-09-04 16:40:16 EDT
The problem is with the 'throwing' clause.  Remove that and the reconciling error goes away.
Comment 2 Andrew Eisenberg CLA 2012-09-04 17:25:22 EDT
Change to AspectConvertingParser.  Now fixed in head.