Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-10

[lang] [patch] ClassUtils.primitiveToWrapper and Void

    Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      34327

      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 Alban Peignier added a comment -

        Created an attachment (id=14631)
        possible patch

        Show
        alban Alban Peignier added a comment - Created an attachment (id=14631) possible patch
        Hide
        scolebourne@joda.org Stephen Colebourne added a comment -

        Patch applied, thanks

        Show
        scolebourne@joda.org Stephen Colebourne added a comment - Patch applied, thanks

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development