[ http://jira.jboss.com/jira/browse/JGRP-42?page=history ]
Ovidiu Feodorov closed JGRP-42:
-------------------------------
Resolution: Done
org.jgroups.blocks.MethodCall was updated to walk the class hierarchy and
locate method not only in the current class, but also in the superclasses and
superinterfaces. There is a new test that contains use cases:
tests/junit/org/jgroups/blocks/MethodCallTest.java
> MethodCall doesn't correctly handle inheritance
> -----------------------------------------------
>
> Key: JGRP-42
> URL: http://jira.jboss.com/jira/browse/JGRP-42
> Project: JGroups
> Type: Bug
> Versions: 2.2.8
> Reporter: Ovidiu Feodorov
> Assignee: Ovidiu Feodorov
> Fix For: 2.2.8
>
>
> A MethodCall containing a method from a base class fails to invoke correctly
> on an instance of a derived class.
> Sample error message: 2005-02-18 08:59:21,551 ERROR
> [org.jgroups.blocks.MethodCall] found no method called
> _receiveRemoteNotification in class
> org.jboss.ha.singleton.HASingletonController with
> (javax.management.AttributeChangeNotification) formal parameters .
> In the example above, the HASingletonController class does not declare
> _receiveRemoteNotification(), but one of its ancestors does.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development