-
Notifications
You must be signed in to change notification settings - Fork 105
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
stapler implements Servlet API 2.5 which is pretty old #114
Comments
Care to file a PR for it? IIUC the Jetty bundled in Jenkins implements 3.x so we could use this. |
jtnord
referenced
this issue
in jtnord/stapler
Sep 20, 2017
This also updates the JSP api to 2.30 as it is also part of Java EE 7 and so will be found in tandem with the servlet API.
jtnord
referenced
this issue
in jtnord/stapler
Sep 20, 2017
jtnord
referenced
this issue
in jtnord/stapler
Sep 20, 2017
Mainly updates jetty and stapler to versions that use servlet 3.1.0 API
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stapler implements only the servlet 2.5 API - yet many applications now use 3.1 (either directly or indirectly_
If you attempt to directly use parts of the 3.1 API on a
StaplerRequest
orStaplerResponse
then weird/bad things could happen depending on what you get underneath..I have not observed any issues yet - but if you get a
org.kohsuke.stapler.StaplerResponseWrapper
rather than aorg.kohsuke.stapler.ResponseImpl
then things are liable to blow up. the same probably applies toStaplerRequest
sub classes.Apparantly (although no details are confirmed), this is causing some issues seen in the wild on the Jenkins project
The text was updated successfully, but these errors were encountered: