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

Concurrency 3.1 injection binding for qualifier and virtual #27340

Merged

Conversation

KyleAure
Copy link
Member

Closes #27148 - original PR was split.

@KyleAure KyleAure requested a review from njr-11 January 11, 2024 16:26
(XMLMaxAsync ? " (xml)" : " ") + "maxAsync: " + maxAsync + " << " + annotation.maxAsync());
(XMLMaxAsync ? " (xml)" : " ") + "maxAsync: " + maxAsync + " << " + annotation.maxAsync(),
(XMLvirtual ? " (xml)" : " ") + "virtual: " + virtual + " << " + (eeVersion >= 11 ? annotation.virtual() : "Unspecified"),
(XMLqualifers ? " (xml)" : " ") + "qualifiers: " + toString(qualifiers) + " << " + (eeVersion >= 11 ? toString(annotation.qualifiers()) : "Unspecified"));
Copy link
Contributor

Choose a reason for hiding this comment

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

Even though we don't support these values prior to EE 11, would it be valuable to see if anything unexpected is coming in for them rather than showing Unspecified? I'm wondering if Unspecified could mislead someone who is debugging issues

Copy link
Member Author

@KyleAure KyleAure Jan 11, 2024

Choose a reason for hiding this comment

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

If a user compiled their application using EE 11 and used the qualifiers attribute on their service annotation, but then ran with EE 10 I would assume we'd throw a runtime exception when we attempted to load the class containing the annotation. So I don't think we'd ever have any unexpected values coming in via the annotation, but rather we might get values coming in via the deployment descriptor.

Copy link
Member Author

Choose a reason for hiding this comment

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

I used the word Unspecified since that matches what the injection binding superclass uses when no value was provided. But in this case we could use something like Unsupported to make it clearer why no value was merged.

@KyleAure
Copy link
Member Author

#libby - check headers
#build - personal build

@LibbyBot
Copy link

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_ohsp4rCcEe6cy7FiSuuNuQ

Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 9 product code files were changed.
  • Please describe in a separate comment how you tested your changes.

@LibbyBot
Copy link

The build KyleAure-27340-20240111-0930
https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_ohsp4rCcEe6cy7FiSuuNuQ
completed successfully!

@KyleAure KyleAure merged commit 3493619 into OpenLiberty:integration Jan 12, 2024
3 checks passed
@KyleAure KyleAure deleted the 27098-concurrent-3.1-injection branch January 12, 2024 15:13
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