Bug 389146 - abstract pointcuts compiled with ajc not visible
Summary: abstract pointcuts compiled with ajc not visible
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.7.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-10 05:28 EDT by Missing name CLA
Modified: 2012-09-10 05:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2012-09-10 05:28:07 EDT
Compiling an abstract aspect with ajc in a library.jar

{{{
@Aspect
public abstract class AbstractAspect {

  	@Pointcut
	public abstract void abstractPointcut();

	@Around("abstractPointcut()")
	public Object doAroundAdvice() {
		...
	}
}
}}}

When using this library and extending the abstract aspect, the abstractPointcut is no longer visible, because it is marked synthetic (e.g., in Eclipse)

{{{
@Aspect
public class ConcreteAspect extends AbstractAspect {
	
	@Pointcut("")
	@Override
	public void abstractPointcut() {
		// empty
	}
}
}}}