private fields returned by properties in Groovy 4

James Daugherty <[email protected]>
Newsgroups gmane.comp.lang.groovy.devel
Message-ID <CAMGZ+-93wtTNSPO1VmVDjxK8uPCoMTdcVkcaHAxKJaQT8JnK3A@mail.gmail.com>
Hi Everyone,

I opened https://issues.apache.org/jira/browse/GROOVY-11799 but
thought I'd reach out to the mailing list on this one.  It seems that
Groovy 4 is including private fields as properties, which affects my
own Grails application in multiple ways:

1. databinding (DataBindingLazyMetaPropertyMap in Grails) uses
.properties to decide what to bind
2. json serialization is trying to serialize private fields that are
recursive datastructures (Grails's Errors object).

It seems this was fixed in Groovy 5 under
https://issues.apache.org/jira/browse/GROOVY-10438 but this wasn't
back ported to Groovy 4.  It also appears that this was reported under
Groovy 4 via https://issues.apache.org/jira/browse/GROOVY-10555 but it
wasn't fixed.

Can @Groovy_Developers  help me understand why this wasn't backported?
 Is it possible we could get this fixed in 4.0.30?

Regards,
James
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.