tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47453] JasperException for deferred-method with return type void
Date Thu, 05 Nov 2009 17:36:55 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47453

--- Comment #1 from Tim Funk <funkman@apache.org> 2009-11-05 09:36:51 UTC ---
Please see if the attached patch fixes the issue

Index: java/org/apache/jasper/compiler/JspUtil.java
===================================================================
--- java/org/apache/jasper/compiler/JspUtil.java        (revision 833094)
+++ java/org/apache/jasper/compiler/JspUtil.java        (working copy)
@@ -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);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message