bito-code-review[bot] commented on PR #15947: URL: https://github.com/apache/grails-core/pull/15947#issuecomment-4928069050
<!-- Bito Reply --> The issue described regarding `Class.getDeclaredField(...)` failing for proxied subclasses is a valid concern in the context of Grails data binding. Using `Class.getField(...)` or walking the class hierarchy is the correct approach to ensure inherited public static whitelist fields are properly resolved for proxied instances. Since the provided PR context does not include the `DataBindingUtils.java` file, I cannot provide a direct code update for that specific file, but the proposed logic change is technically sound for resolving inherited fields. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
