Skip to content

Document Jakarta EE 11: Support Jakarta Expression Language 6.0 #7970

@volosied

Description

@volosied

OpenLiberty/open-liberty#25257

Differences between Expression Language 6.0 and Expression Language 5.0

The main updates are the ELResolvers.

New Additions:

  • Record Support: java.lang.Record, introduced in Java 17, is now supported by default via jakarta.el.RecordELResolver.
  • Optional Support: java.lang.Optional, introduced in Java 8, is now supported via jakarta.el.OptionalELResolver. Note that it is not enabled by default.
  • Array Length Property: Arrays now support the length property via the official API. However, Open Liberty uses Tomcat's Expression Language API and implementation, and the length property has been supported for years.

Removals:

  • Feature Descriptors: The getFeatureDescriptors has been removed from jakarta.el.ELResolver class.
  • Security Manager: All SecurityManager references within the API have been removed to align with the newer JDKs.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions