Align RuntimeHintsAgent behavior with GraalVM reflection changes #29205
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
We should revisit what's been done in #29091 since GraalVM is likely to change behavior and align better with the JVM.
The GraalVM native image should throw exceptions underlining when reachability metadata is missing, and improving the general behavior to ensure that reachability metadata are composable and don't break code when more hints are added.
For #29091, this means that the following would be made required at runtime:
Class.getMethods()
requires"queryAllPublicMethods" : true
Class.getDeclaredMethods()
requires"queryAllDeclaredMethods" : true
This issue is about aligning the
RuntimeHintsAgent
with those changes.This issue is currently on hold, until the behavior change is merged in GraalVM. See the proposal.
The text was updated successfully, but these errors were encountered: