From: markt Date: Fri, 24 Jul 2009 19:06:54 +0000 (+0000) Subject: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41824 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bdb2abf015aadcefa59219cd3267db6c05d7fd36;p=tomcat7.0 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41824 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 --- diff --git a/java/org/apache/jasper/compiler/JspUtil.java b/java/org/apache/jasper/compiler/JspUtil.java index dc2517c93..ed46e7d19 100644 --- a/java/org/apache/jasper/compiler/JspUtil.java +++ b/java/org/apache/jasper/compiler/JspUtil.java @@ -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)) {