Author: remy.maucherat(a)jboss.com
Date: 2009-12-06 21:28:04 -0500 (Sun, 06 Dec 2009)
New Revision: 1321
Modified:
trunk/java/org/apache/jasper/compiler/JspUtil.java
trunk/webapps/docs/changelog.xml
Log:
- Revert nice bugfix: a method returning void being used to set the value of an attribute
is something that is allowed.
Modified: trunk/java/org/apache/jasper/compiler/JspUtil.java
===================================================================
--- trunk/java/org/apache/jasper/compiler/JspUtil.java 2009-12-06 21:29:54 UTC (rev 1320)
+++ trunk/java/org/apache/jasper/compiler/JspUtil.java 2009-12-07 02:28:04 UTC (rev 1321)
@@ -463,8 +463,6 @@
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);
Modified: trunk/webapps/docs/changelog.xml
===================================================================
--- trunk/webapps/docs/changelog.xml 2009-12-06 21:29:54 UTC (rev 1320)
+++ trunk/webapps/docs/changelog.xml 2009-12-07 02:28:04 UTC (rev 1321)
@@ -217,9 +217,6 @@
<bug>42390</bug>: Correct JSP compilation error with nested tagfile
tags with variables with "AT_BEGIN" scope.
Patch provided by Konstantin Kolinko. (markt)
</fix>
- <fix>
- <bug>47453</bug>: Handle void return types in JspUtil. Patch by Tim
Funk. (markt)
- </fix>
</changelog>
</subsection>
</section>
Show replies by date