[ 
https://issues.apache.org/jira/browse/PLUTO-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Gould updated PLUTO-451:
---------------------------------

    Attachment: taglib-problem.diff

> JSP21ExpressionEvaluatorProxy is causing an exception in Tomcat 6.0 if 
> compiled using JDK 5.0
> ---------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-451
>                 URL: https://issues.apache.org/jira/browse/PLUTO-451
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container taglibs
>    Affects Versions: 1.1.5, 1.1-286-COMPATIBILITY, 1.1-286-trunk-merge
>         Environment: JDK 5.0, Tomcat 6.0
>            Reporter: Benjamin Gould
>             Fix For: 1.1.5, 1.1-286-COMPATIBILITY, 1.1-286-trunk-merge
>
>         Attachments: taglib-problem.diff
>
>
> JDK 5.0 changed the signature of Method.invoke() to using varargs for the 
> second argument.  The ExpressionEvaluatorProxy for JSP 2.1 passes null, which 
> presumably gets coerced into new Object[] { null } by the compiler. This 
> causes an exception because the runtime arguments for 
> JspApplicationContexts.getExpressionFactory() do not match its signature.  
> Passing an empty array Object[] {} to Method.invoke() resolves this ambiguity.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to