Closed
Description
Juergen Hoeller opened SPR-13619 and commented
The changes triggered by #18106 kept UndertowRequestUpgradeStrategy
compatible with Undertow 1.3 standalone and embedded, but broke general compatibility with WildFly due to an odd side effect of proxy class instantiation with WildFly's strict ClassLoader - on some JVMs at least. Let's fix this for 4.2.3 through reverting back to the regular inner class for the HttpUpgradeListener
in our upgradeInternal
implementation, keeping the rest of our reflective adaptation in place for general Undertow 1.2 vs 1.3 bridging.
Affects: 4.2.2
Issue Links:
- Compatibility with WildFly 10 [SPR-13477] #18056 Compatibility with WildFly 10 ("is depended on by")
- ClassNotFoundException: org.xnio.StreamConnection in Wildfly 10.0.0.CR2 [SPR-13529] #18106 ClassNotFoundException: org.xnio.StreamConnection in Wildfly 10.0.0.CR2
- Make use of native doUpgrade operation in Undertow 1.3.5+ / 1.4 [SPR-13593] #18171 Make use of native doUpgrade operation in Undertow 1.3.5+ / 1.4