From bdb2abf015aadcefa59219cd3267db6c05d7fd36 Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 24 Jul 2009 19:06:54 +0000 Subject: [PATCH] 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 --- java/org/apache/jasper/compiler/JspUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.11.0