In #5481 the OptionalELResolver was added and is added to FacesCompositeELResolver by default.
We already used Optionals in many places in JSF Pages, also using Optional#isPresent in the pages. Since the resolver now changes the type to the generic type, we get lots of errors because the isPresent checks no longer work and would need to be changed to null checks.
Is it possible to opt-out of using the OptionalELResolver or somehow configure Mojarra to disable that specific resolver so we don't have to update our pages when updating to 4.1, since this is a breaking change?
In #5481 the
OptionalELResolverwas added and is added toFacesCompositeELResolverby default.We already used Optionals in many places in JSF Pages, also using
Optional#isPresentin the pages. Since the resolver now changes the type to the generic type, we get lots of errors because the isPresent checks no longer work and would need to be changed to null checks.Is it possible to opt-out of using the OptionalELResolver or somehow configure Mojarra to disable that specific resolver so we don't have to update our pages when updating to 4.1, since this is a breaking change?