[ 
https://issues.apache.org/jira/browse/MYFACES-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682771#comment-17682771
 ] 

Volodymyr Siedlecki commented on MYFACES-4556:
----------------------------------------------

[~tandraschko] Can I assign this to you since this class is your area?  Not 
sure if you want to update it for this new check or not.  Thanks!

> 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
>            Priority: Major
>
> EL 5.0 Spec Change: 
> 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)

Reply via email to