geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r902001 - /geronimo/specs/trunk/geronimo-el_2.2_spec/src/main/java/javax/el/BeanELResolver.java
Date Fri, 22 Jan 2010 05:17:31 GMT
Author: xuhaihong
Date: Fri Jan 22 05:17:31 2010
New Revision: 902001

URL: http://svn.apache.org/viewvc?rev=902001&view=rev
Log:
Fix while handling variable arguments

Modified:
    geronimo/specs/trunk/geronimo-el_2.2_spec/src/main/java/javax/el/BeanELResolver.java

Modified: geronimo/specs/trunk/geronimo-el_2.2_spec/src/main/java/javax/el/BeanELResolver.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-el_2.2_spec/src/main/java/javax/el/BeanELResolver.java?rev=902001&r1=902000&r2=902001&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-el_2.2_spec/src/main/java/javax/el/BeanELResolver.java (original)
+++ geronimo/specs/trunk/geronimo-el_2.2_spec/src/main/java/javax/el/BeanELResolver.java Fri
Jan 22 05:17:31 2010
@@ -429,7 +429,7 @@
                     finalParamValues[iCurrentIndex] = Array.newInstance(varArgsClassType.getComponentType(),
0);
                 } else if (iCurrentIndex == params.length - 1 && varArgsClassType
== params[iCurrentIndex].getClass()
                         && varArgsClassType.getClassLoader() == params[iCurrentIndex].getClass().getClassLoader())
{
-                    finalParamValues[iCurrentIndex] = paramTypes[iCurrentIndex];
+                    finalParamValues[iCurrentIndex] = params[iCurrentIndex];
                 } else {
                     Object targetArray = Array.newInstance(varArgsClassType.getComponentType(),
params.length - iCurrentIndex);
                     Class<?> componentClassType = varArgsClassType.getComponentType();



Mime
View raw message