Expose all public user class methods (including inherited methods) for reflection

Also removes declared constructors hint for user classes which should not be necessary.

See gh-29335
This commit is contained in:
Juergen Hoeller 2022-10-20 09:32:55 +02:00
parent f93fda2a95
commit f6708d194c
1 changed files with 1 additions and 2 deletions

View File

@ -117,8 +117,7 @@ public class GenericApplicationContext extends AbstractApplicationContext implem
MemberCategory.DECLARED_FIELDS);
private static final Consumer<Builder> asProxiedUserClass = hint ->
hint.withMembers(MemberCategory.INTROSPECT_DECLARED_CONSTRUCTORS,
MemberCategory.INVOKE_DECLARED_METHODS);
hint.withMembers(MemberCategory.INVOKE_PUBLIC_METHODS);
private final DefaultListableBeanFactory beanFactory;