Skip to content

Relaxing --exact-reachability-metadata ? #10264

Answered by vjovanov
zakkak asked this question in General
Discussion options

You must be logged in to vote

After a few iterations we have concluded the following:

  1. --exact-reachability-metadata will remain very strict in order to guarantee that all entries are covered by the metadata. This includes resource lookups and Class.forName on non-existing classes. This flag should be used by the frameworks and libraries to make sure that they have covered all possible entries in the code and that their users don't have to do it.

  2. Most of the functionality --exact-reachability-metadata currently covers will be promoted to the default behavior (e.g., throwing a MissingReflectionRegistrationError when calling Class.getDeclaredMethods() on an unregistered class). With this, the end user will not care a…

Replies: 7 comments 13 replies

Comment options

You must be logged in to vote
1 reply
@zakkak
Comment options

zakkak Dec 12, 2024
Collaborator Author

Comment options

You must be logged in to vote
4 replies
@zakkak
Comment options

zakkak Dec 13, 2024
Collaborator Author

@radcortez
Comment options

@vjovanov
Comment options

@radcortez
Comment options

Comment options

You must be logged in to vote
1 reply
@zakkak
Comment options

zakkak Dec 17, 2024
Collaborator Author

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@zakkak
Comment options

zakkak Dec 17, 2024
Collaborator Author

@nreid260
Comment options

@vjovanov
Comment options

@zakkak
Comment options

zakkak Dec 18, 2024
Collaborator Author

Comment options

You must be logged in to vote
1 reply
@zakkak
Comment options

zakkak Jan 14, 2025
Collaborator Author

Comment options

You must be logged in to vote
2 replies
@zakkak
Comment options

zakkak Jun 25, 2025
Collaborator Author

@vjovanov
Comment options

Answer selected by zakkak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants