Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48616, a regression caused...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 1 Feb 2010 00:04:40 +0000 (00:04 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 1 Feb 2010 00:04:40 +0000 (00:04 +0000)
commit0d32addf3926932ae97775376c71dc6fbebf1d81
treea11aa485c97794f8c17c7d455031ba8e74467039
parentd2e2f478e0c6bc1294dffc89775b76168196a634
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48616, a regression caused by the fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
The requirement for variable declaration also depends on whether or not a fragment helper has been used for the parent tag (if any). Where such a helper has been used, the variables must be redefined.
Test cases for both bugs and the JSP TCK pass with this patch applied.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@905145 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/jasper/compiler/Generator.java
java/org/apache/jasper/compiler/ScriptingVariabler.java