Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41824
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 24 Jul 2009 19:06:54 +0000 (19:06 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 24 Jul 2009 19:06:54 +0000 (19:06 +0000)
Need to use canonical rather than binary form when writing code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@797607 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/compiler/JspUtil.java

index dc2517c..ed46e7d 100644 (file)
@@ -379,7 +379,7 @@ public class JspUtil {
          * 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)) {