Author: markt Date: Wed Jan 2 16:25:29 2013 New Revision: 1427851 URL: http://svn.apache.org/viewvc?rev=1427851&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54242 Fix NPE in tagPlugins:ForEach when iteration is null. JSTL spec says it should be treated like an empty iteration. Patch provided by Sheldon Shao.
Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1427851&r1=1427850&r2=1427851&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Jan 2 16:25:29 2013 @@ -63,7 +63,12 @@ <code>out.write(String.valueOf(obj))</code> which will trigger a <code>NullPointerException</code> if <code>obj.toString()</code> returns <code>null</code>. The fix for <bug>35410</bug> incorrectly suppressed - the <code>NullPointerException</code> in this case. + the <code>NullPointerException</code> in this case. (markt) + </fix> + <fix> + <bug>54242</bug>: Correct handle null iterations with in the JSTL + ForEach tag plug-in implementation. Patch provided by Sheldon Shao. + (markt) </fix> </changelog> </subsection> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org