groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bayer <>
Subject How does Groovy decide to coerce a GString to a String at method dispatch?
Date Mon, 21 Aug 2017 22:53:36 GMT
Hey all -

I'm working on an issue in Jenkins' Groovy sandboxing logic - The problem is that
'map."some${variable}"' seems to be acting as if the GStringImpl was the
key, rather than the String it should coerce to. I've got a feeling this is
due to a flaw in our sandbox's method dispatch code somewhere, so I'm
trying to figure out how Groovy is deciding to coerce normally. And I can't
tell where that would be. =) Anyone got any pointers?


View raw message