Back to bug 784270

Who When What Removed Added
Justin Ross 2012-01-24 16:53:42 UTC CC jross
Stuart Auchterlonie 2012-10-30 09:57:41 UTC CC sauchter
Justin Ross 2012-12-04 21:12:07 UTC Status NEW ASSIGNED
Assignee rhm-maint-list rattapat
Target Milestone --- 2.4
Link ID Apache JIRA QPID-3769
Leonid Zhaldybin 2013-02-26 08:00:15 UTC CC lzhaldyb
Rajith Attapattu 2013-03-13 15:54:46 UTC Status ASSIGNED POST
Doc Text Cause:
the equals method does not take into account the differences between the ADDR and BURL syntax.

Consequence:
The legacy fields are not populated until the address is validated resulting in NPE if equals is called before that.

Fix: Handled equals and hashcode separately for ADDR and BURL.

Result:
The equals and and hashcode methods behave as expected.
Justin Ross 2013-03-13 18:07:24 UTC Fixed In Version 0.22
Pavel Moravec 2013-05-14 05:33:48 UTC CC jshepherd
Irina Boverman 2013-05-31 17:30:20 UTC Status POST MODIFIED
Fixed In Version 0.22 qpid-java-0.22-1.el5, qpid-java-0.22-2.el6
Ernie 2013-06-26 13:52:10 UTC CC eallen
QA Contact mrgqe-bugs eallen
Ernie 2013-07-03 14:45:16 UTC Status MODIFIED VERIFIED
Eric Sammons 2013-07-10 13:35:22 UTC Target Milestone 2.4 3.0
Justin Ross 2013-09-19 18:17:36 UTC Status VERIFIED ASSIGNED
Justin Ross 2013-09-30 12:59:58 UTC Status ASSIGNED MODIFIED
Fixed In Version qpid-java-0.22-1.el5, qpid-java-0.22-2.el6 qpid-java-0.22-1.el5, qpid-java-0.22-2.el6, qpid-java-0.23-1
errata-xmlrpc 2013-10-03 13:59:58 UTC Status MODIFIED ON_QA
Irina Boverman 2013-10-08 20:18:22 UTC CC iboverma
Irina Boverman 2013-10-08 20:22:33 UTC Status ON_QA VERIFIED
Fixed In Version qpid-java-0.22-1.el5, qpid-java-0.22-2.el6, qpid-java-0.23-1 qpid-java-0.23-1
QA Contact eallen iboverma
Irina Boverman 2013-10-18 13:27:19 UTC Status VERIFIED ON_QA
Justin Ross 2013-11-11 14:43:10 UTC Status ON_QA VERIFIED
Fixed In Version qpid-java-0.23-1 qpid-java-0.22
Leonid Zhaldybin 2014-09-22 09:31:34 UTC Group redhat, support, devel
Jared MORGAN 2014-09-23 01:01:44 UTC Doc Text Cause:
the equals method does not take into account the differences between the ADDR and BURL syntax.

Consequence:
The legacy fields are not populated until the address is validated resulting in NPE if equals is called before that.

Fix:
Handled equals and hashcode separately for ADDR and BURL.

Result:
The equals and and hashcode methods behave as expected.
It was discovered that the AMQDestination equals method did not take into account the differences between the ADDR and BURL syntax. The legacy fields were not populated until the address was validated resulting in a null pointer exception if equals was called beforehand. The fix now handles equals and hashcode separately for ADDR and BURL, which allow the equals and hashcode methods to behave as expected.
errata-xmlrpc 2014-09-24 14:41:28 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2014-09-24 15:03:51 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2014-09-24 11:03:51 UTC
John Skeoch 2015-09-14 00:23:10 UTC CC mnewsome

Back to bug 784270