Update runtime hints predicates after GraalVM changes #34239
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
As of #33847, method and field introspection is included by default when a type is registered.
Many methods in
ReflectionHintsPredicates
are now mostly useless as their default behavior checks for introspection.We should deprecate those methods and promote instead invocation variants. For example
onMethod()
->onMethodInvocation
. During the upgrade, developers should remove that predicate check if it's only checking for introspection as checking for the type is enough. If they were checking for invocation, they should use the new method.The text was updated successfully, but these errors were encountered: