[ 
https://issues.apache.org/jira/browse/AXIS2-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

An Hong updated AXIS2-3579:
---------------------------

    Attachment: axis2-3579.patch

The proposed fix, as attached, is 
a) Initialize the element member to unseen value (MIN_VALUE) if it does not 
have a default; and
b) Don't change the element member if it's optional and not seen.

%%

> ADB-codegen overrides default for optional primitive element
> ------------------------------------------------------------
>
>                 Key: AXIS2-3579
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3579
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4
>         Environment: 32-bit Windows XP
>            Reporter: An Hong
>         Attachments: axis2-3579.patch
>
>
> ADB codegen always return MIN_VALUE for unseen optional primitive element, 
> regardless of what its default was initialized to.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to