[GRADLE-3536] GStrings in BuildCommands don't work via the TAPI Created: 26/Aug/16  Updated: 29/Aug/16  Resolved: 29/Aug/16

Status: Resolved
Project: Gradle
Affects Version/s: 3.0
Fix Version/s: 3.1-rc-1

Type: Bug
Reporter: Stefan Oehme (Inactive) Assignee: Stefan Oehme (Inactive)
Resolution: Fixed Votes: 0


The Eclipse build commands contain an argument Map that should only contain Strings. When invoked from Groovy however, GStrings can also be passed in. This leads to classloading exceptions when trying to deserialize the build commands model on the TAPI client.

The workaround is simple: Call toString() on every argument to force GString to String conversion.

Generated at Wed Jun 30 12:51:22 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.