Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-451

JSP21ExpressionEvaluatorProxy is causing an exception in Tomcat 6.0 if compiled using JDK 5.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5, 2.0.0
    • 1.1.5, 2.0.0
    • None
    • JDK 5.0, Tomcat 6.0

    Description

      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.

      Attachments

        1. taglib-problem.diff
          0.7 kB
          Benjamin Gould

        Activity

          People

            Unassigned Unassigned
            bgould Benjamin Gould
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: