You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/01/09 14:42:40 UTC

svn commit: r1430852 - /tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Author: markt
Date: Wed Jan  9 13:42:39 2013
New Revision: 1430852

URL: http://svn.apache.org/viewvc?rev=1430852&view=rev
Log:
Better description of <%= obj =%>

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=1430852&r1=1430851&r2=1430852&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Jan  9 13:42:39 2013
@@ -154,7 +154,8 @@
         <bug>54241</bug>: Revert the fix for <bug>35410</bug> as it was not
         compliant with the JSP specification, specifically that
         <code>&lt;%= obj %&gt;</code> must be translated to
-        <code>out.print(String.valueOf(obj))</code> which will trigger a
+        <code>out.print(obj)</code> which in turn becomes
+        <code>out.write(String.valueOf(obj))</code>. This 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. (markt)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org