Reduce/eliminate introspection on java.*
classes
#4907
Labels
to-evaluate
Issue that has been received but not yet evaluated
java.*
classes
#4907
Is your feature request related to a problem? Please describe.
This is a follow-up to this discussion in the Quarkus tracker: quarkusio/quarkus#45537 (comment) .
In the Quarkus project, @zakkak is leading an effort to allow throwing exceptions when GraalVM/Mandrel tries to do reflection calls on elements that were not registered for reflection. This effort leads to all sort of discoveries and in the issue above we discovered that Jackson tries to collect information on
java.*
classes, which should probably be avoided: these classes can't be annotated with Jackson classes and they are well known so we could probably hardcode what's needed.We are having this issue with at least
AnnotatedFieldCollector
/AnnotatedMethodCollector
/AnnotatedCreatorCollector
. There might be others.Examples of this issue with stacktraces:
Describe the solution you'd like
Ideally, we should avoid dynamically resolving this information for
java.*
classes.Usage example
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: