Skip to content

Commit 5e6e63a

Browse files
committed
use Java 20
1 parent 5334cc5 commit 5e6e63a

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ CompletionStage<byte[]> userPdf = userIdsFromDb().thenCompose(userIds -> {
5454
<dependency>
5555
<groupId>com.augustnagro</groupId>
5656
<artifactId>java-async-await</artifactId>
57-
<version>0.2.1</version>
57+
<version>0.3.0</version>
5858
</dependency>
5959
```
6060

61-
This library requires [JDK 19](https://jdk.java.net/19/) with `--enable-preview`, and has no dependencies.
61+
This library requires [JDK 20](https://jdk.java.net/20/) with `--enable-preview`, and has no dependencies.
6262

6363
## Docs:
6464

@@ -84,9 +84,6 @@ Project Loom solves all five issues, although Async-Await only solves the first
8484
* You lose the concurrency features like timeout and retry offered by Rx, Uni, ZIO, etc.
8585
* Maybe you're already using Async libraries; the effort to migrate back to sync is gigantic, whereas introducing Async-Await can be done incrementally.
8686

87-
## See Also
88-
An optimized implementation for Vertx: https://github.com/AugustNagro/vertx-async-await
89-
9087
## Alternative Approaches
9188

9289
* Java bytecode manipulation: https://github.com/electronicarts/ea-async

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.augustnagro</groupId>
88
<artifactId>java-async-await</artifactId>
9-
<version>0.2.1</version>
9+
<version>0.3.0</version>
1010

1111
<name>Java Async-Await</name>
1212
<description>Async-Await support for Java</description>
@@ -67,7 +67,7 @@
6767
<artifactId>maven-compiler-plugin</artifactId>
6868
<version>3.8.1</version>
6969
<configuration>
70-
<release>19</release>
70+
<release>20</release>
7171
<compilerArgs>
7272
<compilerArg>--enable-preview</compilerArg>
7373
</compilerArgs>
@@ -134,4 +134,4 @@
134134
</plugins>
135135
</build>
136136

137-
</project>
137+
</project>

0 commit comments

Comments
 (0)