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

[WFLY-14307] Warning if wrong annotation is added to a Servlet #16542

Merged
merged 1 commit into from Apr 5, 2023

Conversation

gaol
Copy link
Contributor

@gaol gaol commented Feb 17, 2023

Thanks for submitting your Pull Request!

Please delete this text, and add a link to the Jira issue solved by this PR.

If this PR is not for the 'main' branch you must add a link to the equivalent change in 'main'.

Remember to use the Jira issue ID in the PR title and any commits.

Issue: https://issues.redhat.com/browse/WFLY-14307

@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Feb 17, 2023
@gaol
Copy link
Contributor Author

gaol commented Feb 23, 2023

@fl4via would you please review? thanks

@pferraro pferraro requested a review from fl4via February 26, 2023 19:05
@@ -442,4 +442,8 @@ public interface UndertowLogger extends BasicLogger {
@Message(id = 110, value = "The use of security realms at runtime is unsupported.")
OperationFailedException runtimeSecurityRealmUnsupported();

@LogMessage(level = WARN)
@Message(id = 111, value = "Annotation: '%s' cannot be used on Servlet: '%s'")
Copy link
Contributor

Choose a reason for hiding this comment

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

This should say something about what will happen, e.g. the annotation will have no effect (if that's true.)

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks.

@gaol
Copy link
Contributor Author

gaol commented Mar 1, 2023

@bstansberry Updated with the suggestion :)

@soul2zimate
Copy link
Contributor

@bstansberry @fl4via Is this good to merge ? I'd like to have an approval so I can merge the downstream one.

@fl4via
Copy link
Contributor

fl4via commented Apr 4, 2023

@bstansberry @fl4via Is this good to merge ? I'd like to have an approval so I can merge the downstream one.

@soul2zimate yes, it is good to go! We probably need to retrigger the cancelled CI though to make sure it passes.

@soul2zimate
Copy link
Contributor

retest this please

@soul2zimate
Copy link
Contributor

It seems I only triggered jobs configured in TeamCity, but I am not able to rerun that Github actionWildFly Build / WildFly Build (windows-latest) (pull_request)

@bstansberry bstansberry merged commit 4420b30 into wildfly:main Apr 5, 2023
8 checks passed
@bstansberry
Copy link
Contributor

Thanks @gaol, @fl4via and @soul2zimate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes
Projects
None yet
4 participants