[ 
https://issues.apache.org/jira/browse/LANG-1596?focusedWorklogId=501757&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-501757
 ]

ASF GitHub Bot logged work on LANG-1596:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Oct/20 12:31
            Start Date: 17/Oct/20 12:31
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #629:
URL: https://github.com/apache/commons-lang/pull/629#issuecomment-710892828


   
   [![Coverage 
Status](https://coveralls.io/builds/34250403/badge)](https://coveralls.io/builds/34250403)
   
   Coverage increased (+94.7%) to 94.712% when pulling 
**e492c6e80d798538ddd025767e80445feac0f09d on nstdio:LANG-1608** into 
**8ff63a0da3a82c8aae303f9c28184240196cda00 on apache:master**.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 501757)
    Time Spent: 50m  (was: 40m)

> ArrayUtils.toPrimitive(Object) does not support boolean and other types
> -----------------------------------------------------------------------
>
>                 Key: LANG-1596
>                 URL: https://issues.apache.org/jira/browse/LANG-1596
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 3.11
>            Reporter: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.12
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> ArrayUtils.toPrimitive(Object) supports only Integer, Long, Short, Double and 
> Float. Boolean, Byte, and Character are not supported.
> This causes e.g. also calls to MethodUtils.invokeStaticMethod(...) to fail if 
> e.g. a Boolean array is provided as the argument for a primitive boolean 
> vararg because getVarArgs does expect ArrayUtils to do the right thing:
> {code}
>         if (varArgComponentType.isPrimitive()) {
>             // unbox from wrapper type to primitive type
>             varArgsArray = ArrayUtils.toPrimitive(varArgsArray);
>         }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to