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

Do not allow override of jakarta.* container classes by webapps per Servlet 5.0 Section 15.2.1 #6125

Closed
joakime opened this issue Apr 2, 2021 · 1 comment · Fixed by #6126
Assignees
Labels
Bug For general bugs on Jetty side

Comments

@joakime
Copy link
Contributor

joakime commented Apr 2, 2021

Jetty version
11.0.x

Description
As identified in Issue #6123 the jakarta.* classes from the container can be overridden by a webapp.

This is incorrect per Servlet spec Section 15.2.1, and if the jakarta.* class exists in the container, the webapp shall not be allowed to override it.

@joakime joakime added the Bug For general bugs on Jetty side label Apr 2, 2021
@joakime joakime self-assigned this Apr 2, 2021
joakime added a commit that referenced this issue Apr 2, 2021
@joakime joakime linked a pull request Apr 2, 2021 that will close this issue
joakime added a commit that referenced this issue Apr 6, 2021
Issue #6125 - Add jakarta.* to system classes defaults
@joakime
Copy link
Contributor Author

joakime commented Apr 12, 2021

PR #6126 merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant