[jboss-user] [JBoss AOP] - Re: Obscure error message

flavia.rainone do-not-reply at jboss.com
Tue Dec 5 07:28:38 EST 2006


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



More information about the jboss-user mailing list