https://issues.apache.org/bugzilla/show_bug.cgi?id=55891

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
I've tracked this down. There is no Tomcat bug here. You have been bitten by a
difference between EL 2.2 and EL 3.0 (which is why it worked in Tomcat 7 when
you used the EL 3.0 implementation from Glassfish 4).

In EL 2.2 attempting to coerce a null to a Boolean results in Boolean.FALSE.
In EL 3.0 attempting to coerce a null to a Boolean results in null.

In Tomcat 7 the attempts to resolve #{b.checked} returns null which is coerced
to Boolean.FALSE which appears to prevent the 3rd resolution attempt (the one
that works in Tomcat 8).

The multiple resolution attempts still look odd but regardless of whether JSF
is doing the right thing there, Tomcat's EL implementation in Tomcat 7 is
behaving as per the EL 2.2 spec and in Tomcat 8 it is behaving as per the 3.0
spec. See section A.4 of the EL 3.0 spec for the details of this change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to