You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2020/02/12 15:35:15 UTC

[GitHub] [groovy] eric-milles commented on issue #1161: GROOVY-9385: add private field accessor for each mutated private field

eric-milles commented on issue #1161: GROOVY-9385: add private field accessor for each mutated private field
URL: https://github.com/apache/groovy/pull/1161#issuecomment-585263790
 
 
   This change is not for access to private fields from outside.  An inner class can read and write private fields of the outer class(es) using bridge methods.  In the special case of GROOVY-9385, "x++" requires both a read and a write of "x".  At the moment, only the write bridge method is available.  Before some recent changes, "x++" was implemented as private field bridge method for read and dynamic property set for write.  Now, it will use private bridge methods for both read and write.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services