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 - Add qualifier checks on non-binding and repeating qualifiers, make sure events cannot be selected with type variables #18861

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

manovotn
Copy link
Contributor

Here are few fixes to align Arc closer with CDI specification.

The changes are surely not exhaustive, it is just a bunch of things @starksm64 found out while executing TCKs in Arc. I will send more PRs as we discover more issues.

All the tests are basically modified copies from TCK tests (usually just transformation to Arc test-style + addition of bean defining annotation to beans).

@manovotn manovotn requested review from Ladicek and mkouba July 20, 2021 14:44
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 20, 2021

Thanks for your pull request!

The title of your pull request does not follow our editorial rules. Could you have a look?

  • title should not end up with ellipsis (make sure the title is complete)

This message is automatically generated by a bot.

@quarkus-bot quarkus-bot bot added the area/arc Issue related to ARC (dependency injection) label Jul 20, 2021
@manovotn manovotn changed the title Arc - Add qualifier checks on non-binding and repeating qualifiers. M… Arc - Add qualifier checks on non-binding and repeating qualifiers, make sure events cannot be selected with type variables Jul 20, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 20, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building 61101e0

Status Name Step Test failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 16
Native Tests - Data7 Download Maven Repo ⚠️ Check → Logs Raw logs

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 20, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building 61101e0

Status Name Step Test failures Logs Raw logs
MicroProfile TCKs Tests Download Maven Repo ⚠️ Check → Logs Raw logs
Native Tests - Data3 Download Maven Repo ⚠️ Check → Logs Raw logs
Native Tests - Security2 Download Maven Repo ⚠️ Check → Logs Raw logs

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. Just added two minor comments...

…ake sure events cannot be selected with type variables. Added tests are mostly copies of existing TCK tests.
@manovotn
Copy link
Contributor Author

@mkouba lambda is gone and tests now use good old try-catch block. Please review when you get the chance

@mkouba mkouba added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jul 22, 2021
@manovotn manovotn merged commit 87c7872 into quarkusio:main Jul 22, 2021
@quarkus-bot quarkus-bot bot added this to the 2.2 - main milestone Jul 22, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jul 22, 2021
@manovotn manovotn deleted the arcFixes branch July 22, 2021 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants