Problem
When proxying concrete classes, inherited methods are not intercepted. This causes superclass fields to remain null because the proxy is created via Objenesis without calling constructors.
Proposed Fix
ProxyFactory.java: Match methods from entire class hierarchy, not just the target class
Invocation.java: Walk superclass chain to find inherited methods
Discussion
I have a proposed fix for discussion - #1060
Problem
When proxying concrete classes, inherited methods are not intercepted. This causes superclass fields to remain
nullbecause the proxy is created via Objenesis without calling constructors.Proposed Fix
ProxyFactory.java: Match methods from entire class hierarchy, not just the target classInvocation.java: Walk superclass chain to find inherited methodsDiscussion
I have a proposed fix for discussion - #1060