Skip to content

Commit 611c48a

Browse files
committed
JDK 24: update doc
1 parent f01d263 commit 611c48a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

java-24/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ To run each example use: `java --enable-preview --source 24 <FileName.java>`
121121
* `ScopedValue.where(SCOPE_A, "my-value").where(SCOPE_B, "other-value").run(() -> {})`
122122
* **Primitive Types in Patterns, instanceof, and switch**
123123
* re-preview without change
124+
* examples in [JDK 23](../java-23/)
124125
* **ZGC - Remove the Non-Generational Mode**
125126
* remove non-generational mode of the ZGC to reduce maintenance cost
126127
* changes in command-line options:
@@ -129,6 +130,7 @@ To run each example use: `java --enable-preview --source 24 <FileName.java>`
129130
* `-XX:+UseZGC -XX:-ZGenerational`: will use generational ZGC and print a warning about obsolete option
130131
* **Flexible Constructor Bodies**
131132
* re-preview without change
133+
* examples in [JDK 23](../java-23/)
132134
* **Synchronize Virtual Threads without Pinning**
133135
* change the virtual threads to release the platform threads when blocked by synchronized methods and statements
134136
* eliminates nearly all cases of virtual threads being pinned to platform thread
@@ -156,6 +158,7 @@ To run each example use: `java --enable-preview --source 24 <FileName.java>`
156158
* introduced new terminology "simple source file" to indicate a Java file with a implicitly declared class
157159
* **Structured Concurrency**
158160
* re-preview with no change
161+
* examples in [JDK 21](../java-21/)
159162
160163
### API
161164

0 commit comments

Comments
 (0)