https://issues.apache.org/bugzilla/show_bug.cgi?id=51852

             Bug #: 51852
           Summary: BeanELResolver varargs handling is broken in multiple
                    ways
           Product: Tomcat 7
           Version: trunk
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mben...@apache.org
    Classification: Unclassified


The supplied patch (against SVN Revision 1173292) addresses:
 - Incorrectly constructed varargs arguments (resulting in
ArrayIndexOutOfBoundsExceptions)
 - Incorrectly detected matching varargs methods

I originally encountered the first issue in my JSF application using the JUEL
EL implementation in conjunction with Tomcat's EL API.  However I continue to
get the error even when dropping JUEL from the application, so I'm not sure why
in some instances the Jasper implementation seems to handle the varargs
invocations and in others the BeanELResolver is invoked.  In any event, code
that already resides in BeanELResolver should certainly function properly, and
mixing a given ExpressionFactory implementation with any conforming API
implementation should AFAICT be feasible.

The second issue I encountered while debugging the first issue.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to