You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GraalVM 22.x has improved so that annotations placed on a method that has an introspecting hint are visible. This makes RuntimeHintsUtils#registerAnnotation largely irrelevant. Remains registerComposableAnnotation that creates a JDK proxy for an annotation we know is going to be synthesized.
This bit is still needed so we need to rework that bit and make it probably a bit more explicit. Current annotations metadata should be removed from the codebase as well.
The text was updated successfully, but these errors were encountered:
This commit adds the ability to check if a the annotation managed by
a MergedAnnotation is synthesizable. This makes it easier to register
a JDK proxy hint if necessary
See gh-28967
This commit updates RuntimeHintsUtils to focus on registering a JDK
proxy only as annotations of annotated elements that have at least
an introspection hints are visible out-of-the-box.
This commit also removes unnecessary hints and adapt `@Reflective` to
detect if a hint is required using the introduced
MergedAnnotation#isSynthesizable.
See gh-28967
Tests with the agent are broken now that hints for an annotation is
no longer required if the annotated element has an introspection hint.
See gh-28967
GraalVM 22.x has improved so that annotations placed on a method that has an introspecting hint are visible. This makes
RuntimeHintsUtils#registerAnnotation
largely irrelevant. RemainsregisterComposableAnnotation
that creates a JDK proxy for an annotation we know is going to be synthesized.This bit is still needed so we need to rework that bit and make it probably a bit more explicit. Current annotations metadata should be removed from the codebase as well.
The text was updated successfully, but these errors were encountered: