https://github.com/stefan-zobel/java9-concurrent-backport
Backport of Java 9 CompletableFuture, Flow and SubmissionPublisher API for Java 8
https://github.com/stefan-zobel/java9-concurrent-backport
completablefuture flow java8 java9 jep-266 jep-269 reactive-streams
Last synced: 8 months ago
JSON representation
Backport of Java 9 CompletableFuture, Flow and SubmissionPublisher API for Java 8
- Host: GitHub
- URL: https://github.com/stefan-zobel/java9-concurrent-backport
- Owner: stefan-zobel
- Archived: true
- Created: 2018-03-30T18:27:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T12:32:45.000Z (almost 3 years ago)
- Last Synced: 2025-03-20T18:17:58.687Z (9 months ago)
- Topics: completablefuture, flow, java8, java9, jep-266, jep-269, reactive-streams
- Language: Java
- Homepage: https://stefan-zobel.github.io/java9-concurrent-backport/
- Size: 1.67 MB
- Stars: 14
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://mvnrepository.com/artifact/net.sourceforge.streamsupport/java9-concurrent-backport)
[](https://javadoc.io/doc/net.sourceforge.streamsupport/java9-concurrent-backport)
# java9-concurrent-backport

java9-concurrent-backport is a backport of the upgraded (`JEP 266`) Java 9 CompletableFuture API
(extended by the new Java 12 CSR `JDK-8211010` exception handling methods) for Java 8.
In addition, it contains a Java 8 version of the new Java 9 reactive-streams Flow and SubmissionPublisher
API (also JEP 266) and of the new Java 9 Collections factory methods from `JEP 269` (updated to the
Java 14 implementation).
The API is exactly the same as in Java 14 with the exception that it doesn't live in the package
`java.util(.concurrent)` but rather in the package `java9.util(.concurrent)`.
The JEP 269 convenience factory methods for collections are located in companion classes for the
corresponding `java.util` interfaces:
* `java9.util.Lists`
* `java9.util.Maps`
* `java9.util.Sets`
### Maven:
```xml
net.sourceforge.streamsupport
java9-concurrent-backport
2.0.5
```
The minimum runtime requirement is OpenJDK (Oracle) Java 8.
## LICENSE
GNU General Public License, version 2, with the Classpath Exception (and [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) for JSR-166 derived code)