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

Arc - log a warning when we detect wildcard as a bean type. #4756

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

manovotn
Copy link
Contributor

Fixes #4292

This will log an INFO warning that looks like this:
INFO: Producer method io.quarkus.arc.test.producer.generic.WildcardTest$Bar<? extends io.quarkus.arc.test.producer.generic.WildcardTest$Foo> create() contains a parameterized typed with a wildcard. This type is not a legal bean type according to CDI specification and will be ignored during bean resolution.

@manovotn manovotn requested a review from mkouba October 22, 2019 12:54
Copy link
Contributor

@mkouba mkouba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@mkouba mkouba added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Oct 22, 2019
@gwenneg gwenneg merged commit b34c164 into quarkusio:master Oct 22, 2019
@gwenneg gwenneg removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Oct 22, 2019
@gwenneg gwenneg added this to the 0.27.0 milestone Oct 23, 2019
@manovotn manovotn deleted the issue4292 branch December 15, 2022 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arc - parameterized type that contains a wildcard type parameter is not a legal bean type
3 participants