You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bill Lucy (JIRA)" <de...@myfaces.apache.org> on 2015/10/05 22:36:26 UTC
[jira] [Commented] (MYFACES-3981) Unable to resolve Integer API as
Lambda expression in a facelet
[ https://issues.apache.org/jira/browse/MYFACES-3981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943975#comment-14943975 ]
Bill Lucy commented on MYFACES-3981:
------------------------------------
You're right, this won't work with an pre-EL-3 implementation. We will need to gate the fix with the EL version. A more immediate problem is that this doesn't even compile with the current project setup - it looks like we compile against the EL 2.2 api/impl.
> Unable to resolve Integer API as Lambda expression in a facelet
> ---------------------------------------------------------------
>
> Key: MYFACES-3981
> URL: https://issues.apache.org/jira/browse/MYFACES-3981
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-344
> Affects Versions: 2.2.7
> Reporter: Anup
> Priority: Minor
> Attachments: myfaces-3981-2.2.8.patch
>
>
> Following testcases does not print anything in a facelet
> <h:outputText id="out6" value="#{Integer.numberOfTrailingZeros(16)}"/>
> <h:outputText id="out7" value="#{((firstStr, secondStr)-> (Integer.compare(firstInt,secondInt)))(5,6)}" />
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)