Author: markt Date: Fri Jul 24 19:06:54 2009 New Revision: 797607 URL: http://svn.apache.org/viewvc?rev=797607&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41824 Need to use canonical rather than binary form when writing code
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=797607&r1=797606&r2=797607&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java (original) +++ tomcat/trunk/java/org/apache/jasper/compiler/JspUtil.java Fri Jul 24 19:06:54 2009 @@ -379,7 +379,7 @@ * Determine whether to use the expected type's textual name or, if it's * a primitive, the name of its correspondent boxed type. */ - String targetType = expectedType.getName(); + String targetType = getCanonicalName(expectedType); String primitiveConverterMethod = null; if (expectedType.isPrimitive()) { if (expectedType.equals(Boolean.TYPE)) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org