You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2026/02/11 17:58:00 UTC

(sling-org-apache-sling-engine) 01/01: SLING-13071 - HTL use objects that adapt from the javax SlingHttpServletRequest cannot be instantiated a Jakarta context (#68)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git

commit c120aeb29cd6b3b517148d61fd2e594793d1a21b
Merge: 7198a27 124c866
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Feb 11 18:57:54 2026 +0100

    SLING-13071 - HTL use objects that adapt from the javax SlingHttpServletRequest cannot be instantiated a Jakarta context (#68)
    
    - implement a fallback for adapting from the legacy javax servlet requerst when adapting from the jakarta request fails.
    - also support adapting from javax to jakarta request directly.
    - document adaption logic and add back the missing return statement for the original adaption result.

 .../engine/impl/SlingRequestProcessorImpl.java     | 28 +++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)