You need to remove the wildcard from the pointcut expression. When JBoss AOP sees this
wildcard, it thinks it is the return type value. And then it doesn't validate the
"new" keyword, because this cannot be used with return type values.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991253#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...