[jboss-jira] [JBoss JIRA] Created: (JBCLUSTER-282) Incompatible signature change in HATarget
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Jun 10 15:23:38 EDT 2010
Incompatible signature change in HATarget
-----------------------------------------
Key: JBCLUSTER-282
URL: https://jira.jboss.org/browse/JBCLUSTER-282
Project: JBoss Clustering
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: HA-Server-API
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: HA-Server-API 1.2.0.Final , HA-Server-API 2.0.0.Final
The 2.0.0.Alpha series changed the return type of HATarget.getReplicants from ArrayList to List. This is breaking EJB3 (see EJBTHREE-2112) even though they actually handle the return value as a List.
EJB3 needs a compatible interface for the 1.x series (for their usage in EAP 5.x) and the 2.x series (for AS 6 and later). So, solution is, in ha-server-api trunk and in a 1.2 branch:
1) Restore ArrayList as the getReplicants() return type.
2) Add public List<?> getReplicantList()
3) Deprecate getReplicants()
4) Release a 2.0.0.Alpha5 and a 1.2.0.Final
5) Move AS trunk to 2.0.0.Alpha5 so EJB3 testsuite can work
6) At some date, remove all AS trunk usage of the deprecated method
7) When the JBPAPP_5_1 branch is available for commits again, move it to 1.2.0
8) THEN move ejb3-proxy-clustered to 1.2.0, and have it use the new method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list