Java 11 Features | New Feature in Java

The Java 11 launch date is scheduled for September 2018, and the repository is currently open for bug fixes, as well as propositions for more JDK Enhancement Proposals (JEP) to be added to the upcoming version. While the list is not final, there are already 4 proposals that are planned for the next version:

Features Targeted for Java 11:

1. JEP 323: Local-Variable Syntax for Lambda Parameters

A local-variable syntax for lambda parameters should align the syntax of a formal parameter declaration in an implicitly typed expression with the syntax of a local variable declaration. This would allow var to be used when declaring formal parameters of an implicitly typed lambda expressions.

2. JEP321: HTTP Client (Standard)

Standardize the incubated HTTP Client API introduced in JDK 9, via JEP 110, and updated in JDK 10.

3. JEP 320: Remove the Java EE and CORBA Modules

Remove the Java EE and CORBA modules from the Java SE Platform and the JDK. These modules were deprecated in Java SE 9 with the declared intent to remove them in a future release.

4. JEP 309: Dynamic Class-File Constants

JEP 309 (Dynamic Class-File Constants) seek to reduce the cost and disruption of creating new forms of materializable class-file constants, which in turn offers language designers and compiler implementors broader options for expressivity and performance.

5. JEP 318 An Arbitrarily Low-Overhead Garbage Collector

The official name of this JEP is “A No-Op Garbage Collector”, and its purpose is to develop a garbage collector that handles memory allocation, without implementing any actual memory reclamation mechanism.