groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edinson E. PadrĂ³n Urdaneta <edinson.padron.urdan...@gmail.com>
Subject Re: Unexpected behavior with Arrays.asList and an array of primitives even under CompileStatic
Date Mon, 28 Sep 2015 07:36:55 GMT
I think (and I can be very wrong) what happens is that `
Arrays.toString(myIntArray)` is transformed to `Arrays.toString(myIntArray
as Integer[])` explaining why the original array and the list that should
be backed by it are not bound at all. It's just an hypotheses, of course.

Mime
View raw message