Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] LTW : thisJoinPoint.getStaticPart().getSourceLocation().getLine() always returns 0

Hi,
withAspectJ Compiler 1.7.1 (DEVELOPMENT - Built: Wednesday Oct 24, 2012 at 18:06:22 GMT) and LTW,
the call  thisJoinPoint.getStaticPart().getSourceLocation().getLine() always returns 0

My advice is an around advice. I test if( null != thisJoinPoint.getStaticPart().getSourceLocation())
The pointcut is correctly weaved, and the advice excecutes correctly ( except for retrieving the noLine)

How can we explain this? a bug ?

Back to the top