Skip to content

Commit dc45f00

Browse files
committed
JDK 23: update JEPs
1 parent c59c6a8 commit dc45f00

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ A project to explore more about the new features from Java 8 through Java 21.
1313

1414
* [Java 23](java-23/)
1515
* Primitive Types in Patterns, `instanceof` and `switch` (preview)
16+
* Class-File API (preview 2)
17+
* Stream Gatherers (preview 2)
1618

1719
* [Java 22](java-22/) (Mar, 2024)
1820
* Statements before `super` (preview)
@@ -23,6 +25,7 @@ A project to explore more about the new features from Java 8 through Java 21.
2325
* Stream Gatherers (preview)
2426
* Structured Concurrency (preview 2)
2527
* Scoped Value (preview 2)
28+
* Class-File API (preview)
2629

2730
* [Java 21](java-21/) (LTS; Sep, 2023)
2831
* Virtual Threads (standard) :rocket:

java-23/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ To run each example use: `java --enable-preview --source 23 <FileName.java>`
66

77
* [455](https://openjdk.org/jeps/455) - Primitive Types in Patterns, instanceof, and switch (Preview)
88
* [466](https://openjdk.org/jeps/466) - Class-File API (Second Preview)
9+
* [469](https://openjdk.org/jeps/469) - Vector API (Eighth Incubator)
10+
* [473](https://openjdk.org/jeps/473) - Stream Gatherers (Second Preview)
911

1012
## Features
1113

@@ -28,6 +30,8 @@ To run each example use: `java --enable-preview --source 23 <FileName.java>`
2830
* if the switch's selector expression is a float then any case constants must be a floating-point literals
2931
* floating-point literal in case labels is defined in terms of [representation equivalence](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Double.html#repEquivalence)
3032
* a label `case 1.0f` is considered the same as `case 0.99999999f`, will throw a duplicate label error
33+
* **Stream Gatherers**
34+
* re-preview without change
3135

3236
## Links
3337

0 commit comments

Comments
 (0)