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

Issue #5901 Update to javax.servlet.api 4.0.6. #5918

Conversation

janbartel
Copy link
Contributor

Update to jetty toolchain servlet-api jar version 4.0.6, which contains a change to it's module-info to open the javax.servlet.resources package to all modules.

This change was necessary because the org.mortbay apache-jsp jar (which is an automatic module) uses ServletContext.class.getResource(String) in order to obtain the servlet dtds and xsds, and that method needs the javax.servlet.resources package to beopened in order for them to be visible.

This brings in a change to the javax.servlet.api module-info
to open the javax.servlet.resources package to all modules,
so that the dtds and xsds can be retrieved as resources, either
from the context Classloader.getResource, or
from the ServletContext.class.getResource.

Signed-off-by: Jan Bartel <janb@webtide.com>
@janbartel janbartel added this to In progress in Jetty 10.0.1 via automation Jan 26, 2021
Jetty 10.0.1 automation moved this from In progress to Reviewer approved Jan 26, 2021
@janbartel janbartel merged commit 4c44d83 into jetty-10.0.x Jan 27, 2021
Jetty 10.0.1 automation moved this from Reviewer approved to Done Jan 27, 2021
@janbartel janbartel deleted the jetty-10.0.x-5901-javax.servlet.resources-must-be-opened branch January 27, 2021 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Jetty 10.0.1
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants