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

Jakarta servlet support within the same classloader as legacy javax

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.2.16.Final
    • Jakarta EE9
    • None

      Would it be possible to implement jakarta-servlet support such that the undertow implementations use different package names?

      For example:
      io.undertow.servlet.core.DeploymentManagerImpl.class
      Could be packaged in the jakarta module as:
      io.undertow.jakarta.servlet.core.DeploymentManagerImpl.class

      At the moment, there's no way to support a dual-mode deployment without classloader magic, and a risk that a runtime dependency on the old servlet module will cause code which expects to use undertow-servlet-jakarta to fail to link.

      I totally understand that it may be too late already given there have already been some undertow releases with the matching names. Thanks!

              rhn-cservice-bbaranow Bartosz Baranowski
              carterkozak Carter Kozak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: