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 2009/12/01 23:52:55 UTC

svn commit: r885991 - /tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java

Author: markt
Date: Tue Dec  1 22:52:55 2009
New Revision: 885991

URL: http://svn.apache.org/viewvc?rev=885991&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47453
Handle void return types.
Patch by Tim Funk.

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java?rev=885991&r1=885990&r2=885991&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java Tue Dec  1 22:52:55 2009
@@ -338,6 +338,8 @@
             c = float.class;
         else if ("double".equals(type))
             c = double.class;
+        else if ("void".equals(type))
+            c = void.class;
         else if (type.indexOf('[') < 0)
             c = loader.loadClass(type);
 



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