[ 
https://issues.apache.org/jira/browse/GROOVY-7853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King resolved GROOVY-7853.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King
    Fix Version/s: 2.5.0-beta-1

Proposed PR merged. It is a minor breaking change if people were relying on the 
legacy Java-like formatting for primitive arrays.

> o.c.g.r.t.DefaultTypeTransformation does not apply the right toString on 
> primitve arrays when transforming to String
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-7853
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7853
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.6
>            Reporter: Baruch Sadogursky
>            Assignee: Paul King
>            Priority: Minor
>              Labels: breaking
>             Fix For: 2.5.0-beta-1
>
>
> As shown in #groovypuzzlers S3:
> {code:borderStyle=solid}
> byte[] data = "hello".bytes
> String convert(byte[] data) {
>     data
> }
> assert data.toString() == convert(data)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to