We are happy to announce that Liberica JDK 20 builds are generally available! The major Java release contains numerous fixes and enhancements:
- 2,442 fixes overall. BellSoft resolved 11 issues;
- 7 JEPs with new or improved features.
The list of integrated JEPs
- JEP 429: Scoped Values (Incubator) enables sharing of immutable data within and across threads, and thus prohibits the change of a variable by remote code;
- JEP 432: Record Patterns (Second Preview) promotes more declarative programming by introducing record patterns to deconstruct record values;
- JEP 433: Pattern Matching for switch (Fourth Preview) enables pattern matching for switch expressions and statements, facilitating complex data-oriented queries;
- JEP 434: Foreign Function & Memory API (Second Preview) introduces an API that enables Java programs to interoperate with code and data outside of the Java runtime;
- JEP 436: Virtual Threads (Second Preview) enhances multithreaded programming in Java by introducing virtual threads that don’t hold on to an OS thread for the whole lifetime of the code, so thousands or even millions of tasks can be performed concurrently;
- JEP 437: Structured Concurrency (Second Incubator) improves reliability of multithreaded code by enabling developers to create a tree-shaped hierarchy of tasks and confine subtasks within one syntactic block.
- JEP 438: Vector API (Fifth Incubator) enables developers to express vector computations that reliably compile at runtime to optimal vector instructions on supported CPU architectures.
More information on each feature you can find in our dedicated article.
Download the new builds now!
This is the last major release before the LTS version, so if you are planning to migrate to JDK 21 LTS, use Java 20 to test new features and start planning the migration. Head over to Liberica JDK Download Center to get the fresh builds now!