Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve reflection registrations in picocli extension #42080

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

zakkak
Copy link
Contributor

@zakkak zakkak commented Jul 23, 2024

Picocli invokes getDeclaredFields on the declaring classes of annotated
fields
so we need to register all fields instead of just the annotated
ones to avoid MissingReflectionRegistrationErrors at run-time when
using -H:+ThrowMissingRegistrationErrors or
--exact-reachability-metadata.

Relates to #41995

Picocli invokes getDeclaredFields on the declaring classes of annotated
fields so we need to register all fields instead of just the annotated
ones to avoid `MissingReflectionRegistrationError`s at run-time when
using `-H:+ThrowMissingRegistrationErrors` or
`--exact-reachability-metadata`.

Relates to quarkusio#41995
@zakkak zakkak requested a review from geoand July 23, 2024 11:52
@zakkak zakkak added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jul 23, 2024
Copy link

quarkus-bot bot commented Jul 23, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 8857958.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@geoand geoand merged commit 1038be4 into quarkusio:main Jul 23, 2024
19 checks passed
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jul 23, 2024
@quarkus-bot quarkus-bot bot added this to the 3.14 - main milestone Jul 23, 2024
@zakkak zakkak deleted the 2024-07-23-picocli-reflection-fixes branch July 23, 2024 12:53
@gsmet gsmet modified the milestones: 3.14 - main, 3.13.0 Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants