Skip to content

Relaxing --exact-reachability-metadata ? #10264

Answered by vjovanov
zakkak asked this question in General

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

You must be logged in to vote
1 reply
@zakkak

zakkak Dec 12, 2024
Collaborator Author

You must be logged in to vote
4 replies
@zakkak

zakkak Dec 13, 2024
Collaborator Author

@radcortez

@vjovanov

@radcortez

You must be logged in to vote
1 reply
@zakkak

zakkak Dec 17, 2024
Collaborator Author

You must be logged in to vote
0 replies

You must be logged in to vote
4 replies
@zakkak

zakkak Dec 17, 2024
Collaborator Author

@nreid260

@vjovanov

@zakkak

zakkak Dec 18, 2024
Collaborator Author

You must be logged in to vote
1 reply
@zakkak

zakkak Jan 14, 2025
Collaborator Author

You must be logged in to vote
2 replies
@zakkak

zakkak Jun 25, 2025
Collaborator Author

@vjovanov

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