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

Elena Yangazova updated AXIS2-5734:
-----------------------------------
    Description: 
AXIS2-3313 is fixed, but in version 1.6.3 SimpleTypeMapper.java still contains
...
private static final String W_BOOLEAN = "java.lang.Boolean";
...
} else if (name.equals(W_BOOLEAN)) {
            return Boolean.valueOf(text);
} ...

Therefore both '0' and '1' are parsed as 'false'.


  was:
AXIS2-3313 ADB Boolean type mapping incorrect for '1' and '0' is fixed, but in 
version 1.6.3 SimpleTypeMapper.java still contains
...
private static final String W_BOOLEAN = "java.lang.Boolean";
...
} else if (name.equals(W_BOOLEAN)) {
            return Boolean.valueOf(text);
} ...

Therefore both '0' and '1' are parsed as 'false'.



> ADB java.lang.Boolean type mapping incorrect for '1' and '0'
> ------------------------------------------------------------
>
>                 Key: AXIS2-5734
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5734
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.3
>            Reporter: Elena Yangazova
>
> AXIS2-3313 is fixed, but in version 1.6.3 SimpleTypeMapper.java still contains
> ...
> private static final String W_BOOLEAN = "java.lang.Boolean";
> ...
> } else if (name.equals(W_BOOLEAN)) {
>             return Boolean.valueOf(text);
> } ...
> Therefore both '0' and '1' are parsed as 'false'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to