-
Notifications
You must be signed in to change notification settings - Fork 48
Draft PR for Jakarta ee10 jdk17 #19
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
base: master
Are you sure you want to change the base?
Changes from 3 commits
fdd2d47
dbf75e5
c0f7017
0ad18bf
3e9049a
d3d8a6e
4121f57
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ | |
| import java.io.IOException; | ||
| import java.io.Writer; | ||
|
|
||
| import javax.servlet.jsp.JspWriter; | ||
| import jakarta.servlet.jsp.JspWriter; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given the comments at class level, I wonder whether we still need this file... |
||
|
|
||
| /** | ||
| * Copied and modified from Tomcat 6.0.x source. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,29 +19,28 @@ | |
| * under the License. | ||
| */ | ||
|
|
||
| import jakarta.el.ELContext; | ||
| import jakarta.servlet.RequestDispatcher; | ||
| import jakarta.servlet.Servlet; | ||
| import jakarta.servlet.ServletConfig; | ||
| import jakarta.servlet.ServletContext; | ||
| import jakarta.servlet.ServletException; | ||
| import jakarta.servlet.ServletRequest; | ||
| import jakarta.servlet.ServletResponse; | ||
| import jakarta.servlet.http.HttpServletRequest; | ||
| import jakarta.servlet.http.HttpServletResponse; | ||
| import jakarta.servlet.http.HttpSession; | ||
| import jakarta.servlet.jsp.JspWriter; | ||
| import jakarta.servlet.jsp.PageContext; | ||
| import org.apache.velocity.context.Context; | ||
| import org.apache.velocity.tools.view.ViewContext; | ||
|
|
||
| import java.io.IOException; | ||
| import java.io.PrintWriter; | ||
| import java.io.Writer; | ||
| import java.util.Enumeration; | ||
| import java.util.NoSuchElementException; | ||
|
|
||
| import javax.el.ELContext; | ||
| import javax.servlet.RequestDispatcher; | ||
| import javax.servlet.Servlet; | ||
| import javax.servlet.ServletConfig; | ||
| import javax.servlet.ServletContext; | ||
| import javax.servlet.ServletException; | ||
| import javax.servlet.ServletRequest; | ||
| import javax.servlet.ServletResponse; | ||
| import javax.servlet.http.HttpServletRequest; | ||
| import javax.servlet.http.HttpServletResponse; | ||
| import javax.servlet.http.HttpSession; | ||
| import javax.servlet.jsp.JspWriter; | ||
| import javax.servlet.jsp.PageContext; | ||
|
|
||
| import org.apache.velocity.context.Context; | ||
| import org.apache.velocity.tools.view.ViewContext; | ||
|
|
||
| /** | ||
| * Exposes a Velocity {@link Context}, a request and a response as a {@link PageContext}. | ||
| * | ||
|
|
@@ -409,20 +408,6 @@ public JspWriter getOut() { | |
| return jspWriter; | ||
| } | ||
|
|
||
| @SuppressWarnings("deprecation") | ||
| @Override | ||
| public javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator() { | ||
| // Really, who cares? | ||
| throw new UnsupportedOperationException("This class works only with JSP 2.1"); | ||
| } | ||
|
|
||
| @SuppressWarnings("deprecation") | ||
| @Override | ||
| public javax.servlet.jsp.el.VariableResolver getVariableResolver() { | ||
| // Really, who cares? | ||
| throw new UnsupportedOperationException("This class works only with JSP 2.1"); | ||
| } | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you figure out frim with JSP API version this is not required anymore?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll try
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since 4.0.0, 3.1.1 still has it. See also https://projects.eclipse.org/projects/ee4j.jsp/releases/4.0.0
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good, thanks. @arkanovicz I wonder whether we should raise to Servlet 4.0 before that. |
||
| @Override | ||
| public ELContext getELContext() { | ||
| // Really, who cares? | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.