[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 |
Description |
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. |