Skip to content
This repository has been archived by the owner on Aug 17, 2018. It is now read-only.

Commit

Permalink
javaee-jsp-api/issues54 Failed to compile jsp files in which custom t…
Browse files Browse the repository at this point in the history
…ags are nested
  • Loading branch information
ruolli committed Oct 16, 2017
1 parent 4134c36 commit 0c4d240
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion impl/src/main/java/org/apache/jasper/compiler/Generator.java
Original file line number Diff line number Diff line change
Expand Up @@ -2660,6 +2660,7 @@ private void saveScriptingVars(Node.CustomTag n, int scope) {
String tmpVarName = JspUtil.nextTemporaryVariableName();
n.setTempScriptingVar(varName, tmpVarName);
out.printin(varInfos[i].getClassName());
out.print(" ");
out.print(tmpVarName);
out.print(" = ");
out.print(varName);
Expand All @@ -2684,7 +2685,8 @@ private void saveScriptingVars(Node.CustomTag n, int scope) {
}
String tmpVarName = JspUtil.nextTemporaryVariableName();
n.setTempScriptingVar(varName, tmpVarName);
out.printin("String ");
out.printin(tagVarInfos[i].getClassName());
out.print(" ");
out.print(tmpVarName);
out.print(" = ");
out.print(varName);
Expand Down

0 comments on commit 0c4d240

Please sign in to comment.