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#3991253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991253 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
