Update to OpenJDK 12 ea22 (#8618)

Motivation:

We should use the latest OpenJDK 12 release when running tests against Java12.

Modifications:

- Update to OpenJDK 12 ea22.
- Update pax exam version
- skip OSGI testsuite on Java12 as it does not work ea22 yet.

Result:

Use latest OpenJDK 12 version when running on the CI.
This commit is contained in:
Norman Maurer 2018-12-04 11:59:10 +01:00 committed by GitHub
parent d05666ae2d
commit dcbd7c492b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@ services:
build:
args:
centos_version : "6"
java_version : "openjdk@1.12.0-19"
java_version : "openjdk@1.12.0-22"
test:
image: netty:centos-6-1.12

View File

@ -7,7 +7,7 @@ services:
build:
args:
centos_version : "7"
java_version : "openjdk@1.12.0-19"
java_version : "openjdk@1.12.0-22"
test:
image: netty:centos-7-1.12

View File

@ -85,6 +85,8 @@
<!-- This is the minimum supported by Java12 -->
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<!-- pax-exam does not work on latest Java12 EA 22 build -->
<skipOsgiTestsuite>true</skipOsgiTestsuite>
</properties>
</profile>

View File

@ -29,7 +29,7 @@
<name>Netty/Testsuite/OSGI</name>
<properties>
<exam.version>4.9.1</exam.version>
<exam.version>4.13.0</exam.version>
<argLine.java9.extras>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED</argLine.java9.extras>
</properties>