Commons Lang
  1. Commons Lang
  2. LANG-10

[lang] [patch] ClassUtils.primitiveToWrapper and Void

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      ClassUtils.primitiveToWrapper returns null when the specified Class is
      Void.TYPE. Because Void.TYPE is primitive but not present into
      primitiveWrapperMap. Should return Void.TYPE instead.

        Activity

        Hide
        Alban Peignier added a comment -

        Created an attachment (id=14631)
        possible patch

        Show
        Alban Peignier added a comment - Created an attachment (id=14631) possible patch
        Hide
        Stephen Colebourne added a comment -

        Patch applied, thanks

        Show
        Stephen Colebourne added a comment - Patch applied, thanks

          People

          • Assignee:
            Unassigned
            Reporter:
            Alban Peignier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development