Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1632

Jastow Bad Cast to HashMap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None

      JspServletBuilder.setupDeployment() takes a Map as it's second argument, but line 85 of org.apache.jasper.compiler.JspConfig randomly casts this argument to a HashMap. The unnecessary cast should be removed, see the pull request on the github project for Jastow listed below.

      The bug probably hasn't been found because most examples available online pass an empty HashMap to JspServletBuilder.setupDeployment().

            rhn-cservice-bbaranow Bartosz Baranowski
            khoek Keeley Hoek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: