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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/03/07 16:13:52 UTC

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

     [ http://issues.apache.org/jira/browse/AXIS-1857?page=comments#action_60364 ]
     
Davanum Srinivas commented on AXIS-1857:
----------------------------------------

Yves,

would adding a if condition that checks for class's package starts with java. or javax. work?

thanks,
dims

> 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

>
> 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