groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-7853) o.c.g.r.t.DefaultTypeTransformation does not apply the right toString on primitve arrays when transforming to String
Date Tue, 02 May 2017 02:04:18 GMT

     [ 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)

Mime
View raw message