tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r885991 - /tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java
Date Tue, 01 Dec 2009 22:52:55 GMT
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


Mime
View raw message