-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b43
-
generic
-
generic
-
Verified
The test does an ImmutableDescriptor.union() on an Immutable descriptor and a modelmbean.DescriptorSupport descriptor with the same field name, equal case, and different values; it expects an IllegalArgumentException.
IllegalArgumentException was thrown up to b38.
With b39, we do not receive any exception.
Test output is:
(TEST) Two Immutable descriptor with the same field name, equal case, and different values
(TEST) [{a=b}, {a=c}]
(OK) Received IllegalArgumentException
(TEST) Two modelmbean.DescriptorSupport descriptor with the same field name, equal case, and different values
(TEST) [a=b, a=c]
(OK) Received IllegalArgumentException
(TEST) One Immutable descriptor and one modelmbean.DescriptorSupport descriptor with the same field name, equal case, and different values
(TEST) [a=b, {a=c}]
(ERROR) Did not receive IllegalArgumentException
###@###.### 2005-06-08 08:21:11 GMT
IllegalArgumentException was thrown up to b38.
With b39, we do not receive any exception.
Test output is:
(TEST) Two Immutable descriptor with the same field name, equal case, and different values
(TEST) [{a=b}, {a=c}]
(OK) Received IllegalArgumentException
(TEST) Two modelmbean.DescriptorSupport descriptor with the same field name, equal case, and different values
(TEST) [a=b, a=c]
(OK) Received IllegalArgumentException
(TEST) One Immutable descriptor and one modelmbean.DescriptorSupport descriptor with the same field name, equal case, and different values
(TEST) [a=b, {a=c}]
(ERROR) Did not receive IllegalArgumentException
###@###.### 2005-06-08 08:21:11 GMT