[jboss-jira] [JBoss JIRA] Updated: (JBAOP-341) ClassCastException on MethodWrapper for BootClassPath GenAdvisor Tests
Kabir Khan (JIRA)
jira-events at jboss.com
Wed Jan 17 20:16:58 EST 2007
[ http://jira.jboss.com/jira/browse/JBAOP-341?page=all ]
Kabir Khan updated JBAOP-341:
-----------------------------
Fix Version/s: 1.5.4.GA
2.0.0.alpha3
(was: 1.5.3.GA)
Assignee: Flavia Rainone
> ClassCastException on MethodWrapper for BootClassPath GenAdvisor Tests
> ----------------------------------------------------------------------
>
> Key: JBAOP-341
> URL: http://jira.jboss.com/jira/browse/JBAOP-341
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Flavia Rainone
> Assigned To: Flavia Rainone
> Fix For: 1.5.4.GA, 2.0.0.alpha3
>
>
> Class Cast exception on method wrapper, for tests org.jboss.test.aop.basic.AOPTester.testInterfaceUsedInHas and org.jboss.test.aop.regression.jbaop137.ExtenderTestCase.testMethod.
> On the first case, the method execution wrapper tries to cast: org.jboss.test.aop.basic.SubclassInterfaceUsedInHasImpl$SubclassInterfaceUsedInHasImplAdvisor
> to org.jboss.test.aop.basic.InterfaceUsedInHasImpl$InterfaceUsedInHasImplAdvisor. But, even though SuclassInterfaceUsedInHasImpl extends InterfaceUsedInHasImpl, its advisor extends GeneratedAdvisor.
> On the second test failure, an instance of org.jboss.test.aop.regression.jbaop137.Extender$ExtenderInstanceAdvisor
> is cast to org.jboss.test.aop.regression.jbaop137.Base$BaseAdvisor. But this advisor extends org.jboss.test.aop.regression.jbaop137.Extender$ExtenderAdvisor,which extends GeneratedAdvisor.
> The problem here is that the generated advisor of a class should extend the advisor of its superclass.
> The problem happens only on bootclasspath-genadvisor-tests. For precompiled-genadvisor-tests, everything is as expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list