You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2017/05/02 02:04:18 UTC

[jira] [Closed] (GROOVY-7853) o.c.g.r.t.DefaultTypeTransformation does not apply the right toString on primitve arrays when transforming to String

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

Paul King closed GROOVY-7853.
-----------------------------

> 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-alpha-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.15#6346)