Skip to content

Update runtime hints predicates after GraalVM changes #34239

@bclozel

Description

@bclozel

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.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions