GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/365
GROOVY-5985 - Invalid hash key serialVersionUID Using a map key with the same name as a read-only property on the Map class would throw a groovy.lang.ReadOnlyPropertyException. The fix for GROOVY-3471 (commit 18f6f8271ed3bfb) moved the map handling below the handling for read-only properties. In order to avoid the issue in GROOVY-3471 we also need to check and make sure the method is null so we are not in a setX call. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy GROOVY-5985 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/365.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #365 ---- commit 1a081b087dd7fd9c3f7979d3c88b5783d089c5eb Author: John Wagenleitner <jwagenleit...@apache.org> Date: 2016-07-08T22:05:38Z GROOVY-5985 - Invalid hash key serialVersionUID Using a map key with the same name as a read-only property on the Map class would throw a groovy.lang.ReadOnlyPropertyException. The fix for GROOVY-3471 (commit 18f6f8271ed3bfb) moved the map handling below the handling for read-only properties. In order to avoid the issue in GROOVY-3471 we also need to check and make sure the method is null so we are not in a setX call. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---