[
https://issues.apache.org/jira/browse/MYFACES-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Andraschko resolved MYFACES-4556.
----------------------------------------
Assignee: Thomas Andraschko
Resolution: Fixed
> LambdaBeanELResolver#getType should return null if the resolved property is
> read-only
> -------------------------------------------------------------------------------------
>
> Key: MYFACES-4556
> URL: https://issues.apache.org/jira/browse/MYFACES-4556
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 4.0.0-RC4
> Reporter: Volodymyr Siedlecki
> Assignee: Thomas Andraschko
> Priority: Major
> Fix For: 4.0.0-RC5
>
>
> [EL 5.0 Spec Change:
> |https://github.com/jakartaee/expression-language/issues/168]
> Explicitly document that ELResolver.getType() must return null if either the
> ELResolver or the resolved property is read-only.
> We do not check if the property is read-only in our overridden method.
> Our code:
> [https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/el/resolver/LambdaBeanELResolver.java#L47-L58]
> This was discovered in our tests as RC4 disabled USE_LAMBDA_METAFACTORY.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)