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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.3
    • None
    • adb
    • 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

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

            Dates

              Created:
              Updated: