Once #29205 is applied, several tests will start failing as Framework consistently uses ReflectionUtils#findMethod on registered beans for various reasons (finding init/detroy methods by name, looking for annotations). The existing infrastructure already adds targeted introspection/invocation hints, but this change takes a broader approach where we recognize that beans are very likely to be introspected by framework infrastructure.

Comment From: bclozel

Temporarily reverting this change and rescheduling to RC2 for now, as this triggers a particular GraalVM issue and breaks existing native applications.

Comment From: bclozel

See oracle/graal#5171 and oracle/graal#6139 for upcoming changes in GraalVM. Because this change is likely to land in 23.0.0, I'm rescheduling to 6.0.8.

Comment From: bclozel

Reopening for two reasons:

  • the scope has been restricted, as changes that need to happen to fully adapt to https://github.com/oracle/graal/issues/5171 are broader than expected; separate issues will be created
  • the commit fixing this issue is only introducing INTROSPECT_DECLARED_METHODS on the bean class, whereas the init/destroy detection is also looking at default methods on implemented interfaces. We need to account for that as well.