You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Baruch Sadogursky (JIRA)" <ji...@apache.org> on 2016/06/02 08:42:59 UTC

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

Baruch Sadogursky created GROOVY-7853:
-----------------------------------------

             Summary: 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
            Priority: Minor


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)