Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.2RC3
-
None
-
None
-
1.4.2_06-b03, SuSE 9.2
Description
PositiveInteger fields in a bean are incorrectly serialized. On the wire there is a attribute "lowestSetBit" attribute for these elements which invalidates the message.
The cause seems to be the change that was made in the class SimpleSerializer (version 1.35 -> 1.36, init() method). Since the if-statement in the init-method ("if (SimpleType.class.isAssignableFrom(javaType)") was removed the propertyDescriptor is sett. This propertyDescriptor then contains the lowestSetBit property as it is a property of the BigInteger class.