Skip to content

GROOVY-5985 - Invalid hash key serialVersionUID#365

Closed
jwagenleitner wants to merge 1 commit intoapache:masterfrom
jwagenleitner:GROOVY-5985
Closed

GROOVY-5985 - Invalid hash key serialVersionUID#365
jwagenleitner wants to merge 1 commit intoapache:masterfrom
jwagenleitner:GROOVY-5985

Conversation

@jwagenleitner
Copy link
Copy Markdown
Contributor

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 18f6f82) 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.

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 18f6f82) 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.
@paulk-asert
Copy link
Copy Markdown
Contributor

+1

asfgit pushed a commit that referenced this pull request Jul 23, 2016
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 18f6f82) 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.
@asfgit asfgit closed this in 2c22683 Jul 23, 2016
@jwagenleitner jwagenleitner deleted the GROOVY-5985 branch July 23, 2016 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants