Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4548

Set default o.a.m.USE_LAMBDA_METAFACTORY to false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3-next-M7, 4.0.0-RC3
    • 2.3-next-M8, 4.0.0-RC4
    • General
    • None

    Description

      The default is currently true however, after discussion we're going to change the default to false. The basis or this change is the following:

      While looking over some code in MyFaces I noticed in Faces 4.0 we have the following ELResolver:
      
      https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/el/resolver/LambdaBeanELResolver.java
      
      This resolver is added to the resolver list here: https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/el/DefaultELResolverBuilder.java#L154
      
      Reading over the specification: https://jakarta.ee/specifications/faces/4.0/jakarta-faces-4.0.html#a2966 I wanted to 
      start a discussion on the following point in the specification:
      
      "These actual ELResolver instances must be added. It is not compliant to simply add other resolvers that preserve these semantics."
      
      

      Attachments

        Activity

          People

            melloware Melloware
            paul.nicolucci Paul Nicolucci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: