You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Yves Langisch (JIRA)" <ax...@ws.apache.org> on 2005/03/08 10:53:53 UTC

[jira] Updated: (AXIS-1857) PositiveInteger fields in a bean are incorrectly serialized (lowestSetBit attribute)

     [ http://issues.apache.org/jira/browse/AXIS-1857?page=history ]

Yves Langisch updated AXIS-1857:
--------------------------------

    Attachment: axis_1857.patch

patch

> PositiveInteger fields in a bean are incorrectly serialized (lowestSetBit attribute)
> ------------------------------------------------------------------------------------
>
>          Key: AXIS-1857
>          URL: http://issues.apache.org/jira/browse/AXIS-1857
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: 1.4.2_06-b03, SuSE 9.2
>     Reporter: Yves Langisch
>     Priority: Critical
>  Attachments: axis_1857.patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira