aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.build
diff options
context:
space:
mode:
authorEvgeny Mandrikov <Godin@users.noreply.github.com>2016-08-01 09:25:51 +0200
committerGitHub <noreply@github.com>2016-08-01 09:25:51 +0200
commitc6f2b6b7e887eb645b8aba928ff0134cfe66ec28 (patch)
treea7fa83baa5313ec0660e8b2856e6bda21568ac61 /org.jacoco.build
parent8f05e7c58610d31ae322e82f34e55722a6c47bd4 (diff)
downloadjacoco-c6f2b6b7e887eb645b8aba928ff0134cfe66ec28.tar.gz
Execute core tests with bytecode version 9 (#411)
And build using two different versions of JDK 9 EA in Travis: * `9-ea` - currently under testing and hence failures are allowed while we investigate them * `9-ea-stable` - tested previously and hence failures are not allowed, so that to verify that new changes do not introduce regressions For example fixes on our side were required for the changes introduced in JDK 9 EA b119 and b122 and still required for b127.
Diffstat (limited to 'org.jacoco.build')
-rw-r--r--org.jacoco.build/pom.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/org.jacoco.build/pom.xml b/org.jacoco.build/pom.xml
index cf6a2abc..667b32ec 100644
--- a/org.jacoco.build/pom.xml
+++ b/org.jacoco.build/pom.xml
@@ -654,6 +654,24 @@
<maven.compiler.target>${bytecode.version}</maven.compiler.target>
</properties>
</profile>
+ <profile>
+ <id>java9-validation</id>
+ <activation>
+ <property>
+ <name>bytecode.version</name>
+ <value>1.9</value>
+ </property>
+ </activation>
+ <properties>
+ <!--
+ Compile into bytecode version 8 by default,
+ because maven-shade-plugin and maven-plugin-plugin are unable to proceess bytecode version 9,
+ this is overridden for tests
+ -->
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ </properties>
+ </profile>
<profile>
<id>jdk16</id>
@@ -695,6 +713,19 @@
</profile>
<profile>
+ <id>jdk9</id>
+ <activation>
+ <property>
+ <name>jdk.version</name>
+ <value>1.9</value>
+ </property>
+ </activation>
+ <properties>
+ <jvm.args>-XX:-FailOverToOldVerifier -Xverify:all</jvm.args>
+ </properties>
+ </profile>
+
+ <profile>
<id>sign</id>
<activation>
<property>