Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5734

ADB java.lang.Boolean type mapping incorrect for '1' and '0'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.3
    • Fix Version/s: None
    • Component/s: adb
    • Labels:
      None

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elena_yang Elena Yangazova
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: