a179db8066
Raise the Netty 5 minimum required Java version to Java 11. Motivation: Java 11 has been out for some time, and Netty 5 is still some ways out. There are also many good features in Java 11 that we wish to use, such as VarHandles, var-keyword, and the module system. There is no reason for Netty 5 to not require Java 11, since Netty 4.x will still be supported for the time being. Modification: Remove everything in the pom files related to Java versions older than Java 11. Remove the animal-sniffer plug-in and rely on the `--release` compiler flag instead. Remove docker files related to Java versions older than Java 11. Remove the copied SCTP APIs -- we should test this commit independently on Windows. Remove the OpenJdkSelfSignedCertGenerator.java file and just always use Bouncy Castle for generating self-signed certificates for testing. Make netty-testsuite tests pass by including Bouncy Castle as a test dependency, so we're able to generate our self-signed certificate. Result: Java 11 is now the minimum required Java version. |
||
---|---|---|
.. | ||
docker-compose.centos-6.111.yaml | ||
docker-compose.centos-6.112.yaml | ||
docker-compose.centos-6.113.yaml | ||
docker-compose.centos-6.114.yaml | ||
docker-compose.centos-6.graalvm111.yaml | ||
docker-compose.centos-6.openj9111.yaml | ||
docker-compose.centos-7.111.yaml | ||
docker-compose.centos-7.112.yaml | ||
docker-compose.centos-7.113.yaml | ||
docker-compose.centos-7.114.yaml | ||
docker-compose.yaml | ||
Dockerfile.centos | ||
Dockerfile.cross_compile_aarch64 | ||
README.md |
Using the docker images
cd /path/to/netty/
centos 6 with java 11
docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run test
centos 7 with java 11
docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-7.111.yaml run test
aarch64 cross compile for transport-native-epoll on X86_64
docker-compose -f docker/docker-compose.yaml run cross-compile-aarch64
The default version of aarch64 gcc is 4.9-2016.02
. Update the parameter gcc_version
in docker-compose.yaml
to use a version you want.
etc, etc