[ https://issues.apache.org/jira/browse/MYFACES-3981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943985#comment-14943985 ]
Thomas Andraschko commented on MYFACES-3981: -------------------------------------------- Yep thats true - same as: https://issues.apache.org/jira/browse/MYFACES-4008 We could of course use reflection but thats not a good way IMO. We should update the servlet 3.1 (for ticket 4008) and EL 3 and do something like: if (el3Available) {ImportHandler....} This should also work fine for el 2.2 as the code is only executed with EL 3.0. We use some of such statements in PrimeFaces and this is working fine. [~lu4242] WDYT? > 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)