You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Melloware (Jira)" <de...@myfaces.apache.org> on 2022/12/30 13:23:00 UTC
[jira] [Created] (MYFACES-4539) Quarkus: Register servlet objects for reflection
Melloware created MYFACES-4539:
----------------------------------
Summary: Quarkus: Register servlet objects for reflection
Key: MYFACES-4539
URL: https://issues.apache.org/jira/browse/MYFACES-4539
Project: MyFaces Core
Issue Type: Improvement
Components: Extension Feature
Affects Versions: 2.3-next-M7, 4.0.0-RC1
Reporter: Melloware
Assignee: Melloware
In EL expressions like the following:
{code:java}
<li>Session ID: #{session.id}</li>
<li>Server: #{request.serverName}</li>{code}
If you build a Quarkus native image the values of the `HttpSession` and HttpServletRequest` are not found because they are compiled out. After discussing with members of the Quarkus team they suggested to register it here at Myfaces rather than in Undertow itself because not all Undertow users need these classes for reflection.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)