Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Happy birthday JDK 14! #1033

Merged
merged 1 commit into from Mar 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 3 additions & 7 deletions .travis.sh
Expand Up @@ -69,8 +69,8 @@ case "$JDK" in
13)
install_jdk $JDK13_URL
;;
14-ea)
install_jdk $JDK14_EA_URL
14)
install_jdk $JDK14_URL
;;
15-ea)
install_jdk $JDK15_EA_URL
Expand Down Expand Up @@ -102,14 +102,10 @@ case "$JDK" in
mvn -V -B -e verify -Djdk.version=${JDK} -Dbytecode.version=${JDK} -Decj=${ECJ:-} --toolchains=./.travis/travis-toolchains.xml \
--settings=./.travis/settings.xml
;;
10 | 11 | 12 | 13)
10 | 11 | 12 | 13 | 14)
mvn -V -B -e verify -Dbytecode.version=${JDK} \
--settings=./.travis/settings.xml
;;
14-ea)
mvn -V -B -e verify -Dbytecode.version=14 \
--settings=./.travis/settings.xml
;;
15-ea)
mvn -V -B -e verify -Dbytecode.version=15 \
--settings=./.travis/settings.xml
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -29,7 +29,7 @@ env:
- JDK=11
- JDK=12
- JDK=13
- JDK=14-ea
- JDK=14
- JDK=15-ea

script: ./.travis.sh
13 changes: 10 additions & 3 deletions org.jacoco.doc/docroot/doc/build.html
Expand Up @@ -107,18 +107,24 @@ <h2>Compilation and testing with different JDKs</h2>
<th>JDK 11</th>
<th>JDK 12</th>
<th>JDK 13</th>
<th>JDK 14</th>
</tr>
</thead>
<tbody>
<tr>
<th>org.jacoco.core.test.validation.java14</th>
<td colspan="9">excluded from build</td>
<td>compiled into bytecode version 58 (Java 14)</td>
</tr>
<tr>
<th>org.jacoco.core.test.validation.java8</th>
<td colspan="3">excluded from build</td>
<td colspan="6">compiled into bytecode version 52 (Java 8)</td>
<td colspan="7">compiled into bytecode version 52 (Java 8)</td>
</tr>
<tr>
<th>org.jacoco.core.test.validation.java7</th>
<td colspan="2">excluded from build</td>
<td colspan="7" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
<td colspan="8" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
</tr>
<tr>
<th>org.jacoco.core.test.validation.groovy</th>
Expand All @@ -128,7 +134,7 @@ <h2>Compilation and testing with different JDKs</h2>
<th>org.jacoco.core.test.validation.kotlin</th>
<td colspan="1">excluded from build</td>
<td colspan="6">compiled into bytecode version 50 (Java 6)</td>
<td colspan="2" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
<td colspan="3" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
</tr>
<tr>
<th>all other modules</th>
Expand Down Expand Up @@ -175,6 +181,7 @@ <h2>Compilation and testing with different JDKs</h2>
<li><code>mvn clean verify -Djdk.version=11 -Dbytecode.version=11</code></li>
<li><code>mvn clean verify -Djdk.version=12 -Dbytecode.version=12</code></li>
<li><code>mvn clean verify -Djdk.version=13 -Dbytecode.version=13</code></li>
<li><code>mvn clean verify -Djdk.version=14 -Dbytecode.version=14</code></li>
</ul>


Expand Down
1 change: 1 addition & 0 deletions org.jacoco.doc/docroot/doc/changes.html
Expand Up @@ -22,6 +22,7 @@ <h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>

<h3>New Features</h3>
<ul>
<li>JaCoCo now officially supports Java 14.</li>
<li>Experimental support for Java 15 class files
(GitHub <a href="https://github.com/jacoco/jacoco/issues/992">#992</a>).</li>
<li>Methods <code>toString</code>, <code>hashCode</code> and <code>equals</code>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.doc/docroot/doc/faq.html
Expand Up @@ -45,7 +45,7 @@ <h3>Does JaCoCo have a plug-in for [Eclipse|Netbeans|Whatever...]?</h3>

<h3>What Java versions are supported by JaCoCo?</h3>
<p>
JaCoCo supports Java class files from version 1.0 to 13. However the minimum
JaCoCo supports Java class files from version 1.0 to 14. However the minimum
JRE version required by the JaCoCo runtime (e.g. the agent) and the JaCoCo
tools is 1.5. Also note that class files under test from version 1.6 and above
have to contain valid stackmap frames.
Expand Down