Liberty Repository[8.5.5.5 or later]
This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Expression Language 3.0 feature functions

The Expression Language (EL) 3.0 feature provides full support for the EL 3.0 specification.

Descriptions of EL 3.0 functions are provided in the EL 3.0 specification and are not fully described here. However, some of the key enhancements include the following:

Important: There is a change in the EL 3.0 feature that might break existing applications. The default coercion for nulls to non-primitive types (except String) returns nulls. For example, a null that is coerced to a Double now returns a null value, whereas before it returned 0.0. The following code example describes this scenario:
Integer number=null;
factory.coerceToType(number, java.lang.Double.class)

Icon that indicates the type of topic Concept topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=cwlp_el30
File name: cwlp_el30.html