You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/features_versions/nineteen_19/README.md
+15-6
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,19 @@
1
1
# Java 19
2
2
3
+
## Preview Features:
3
4
4
-
## Features
5
+
Record Patterns (JEP 405): Enables deconstructing record values using patterns for clearer and more concise code.
6
+
Virtual Threads (JEP 425): Provides a lightweight threading implementation for high-throughput concurrent applications.
7
+
Foreign Function & Memory API (JEP 424): Allows Java programs to interoperate with code and data outside the Java runtime, improving performance and flexibility.
8
+
Pattern Matching for switch (JEP 427): Extends the switch statement with pattern matching capabilities for more readable and powerful conditional statements (third preview).
9
+
10
+
## Incubator Features:
11
+
12
+
Vector API (JEP 426): Offers an API for vector computation utilizing modern SIMD instructions for improved performance in numerical applications (fourth incubator).
13
+
Structured Concurrency (JEP 428): Introduces an experimental API for managing asynchronous tasks with less boilerplate code (incubator).
14
+
Other Notable Changes:
15
+
16
+
Deprecation of Locale class constructors: Encourages the use of static factory methods for creating Locale objects.
17
+
Automatic Generation of the CDS Archive: Improves class loading performance by automatically generating the CDS archive during installation.
18
+
Linux/RISC-V Port (JEP 422): Provides an official Java port for the RISC-V architecture.
5
19
6
-
-**New System Properties for System.out and System.err**: Enhanced system logging.
7
-
-**Additional Date-Time Formats**: More options for date-time formatting.
8
-
-**New Methods for Preallocated HashMaps and HashSets**: Improving collection initialization.
0 commit comments