Skip to content

Commit

Permalink
Align with 11.0.x onwards
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Feb 7, 2025
1 parent 2d30dce commit 632fdb9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions java/org/apache/jasper/compiler/JspUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,17 +352,6 @@ public static String interpreterCall(boolean isTagFile, String expression, Class
/*
* Build up the base call to the interpreter.
*/
// XXX - We use a proprietary call to the interpreter for now
// as the current standard machinery is inefficient and requires
// lots of wrappers and adapters. This should all clear up once
// the EL interpreter moves out of JSTL and into its own project.
// In the future, this should be replaced by code that calls
// ExpressionEvaluator.parseExpression() and then cache the resulting
// expression objects. The interpreterCall would simply select
// one of the pre-cached expressions and evaluate it.
// Note that PageContextImpl implements VariableResolver and
// the generated Servlet/SimpleTag implements FunctionMapper, so
// that machinery is already in place (mroth).
targetType = toJavaSourceType(targetType);
StringBuilder call = new StringBuilder("(" + returnType + ") " +
"org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate" + "(" + Generator.quote(expression) +
Expand Down

0 comments on commit 632fdb9

Please sign in to comment.