Skip to content

Commit

Permalink
Visual cleanup of JDK/compilation target table (#1034)
Browse files Browse the repository at this point in the history
* Use default table style
* Remove redundant classfile version
* Repeat and shorten cells to archieve visual grid
  • Loading branch information
marchof committed Jul 1, 2020
1 parent 2a75e0d commit 6ceb019
Showing 1 changed file with 80 additions and 49 deletions.
129 changes: 80 additions & 49 deletions org.jacoco.doc/docroot/doc/build.html
Expand Up @@ -6,24 +6,6 @@
<link rel="stylesheet" href="resources/doc.css" charset="UTF-8" type="text/css" />
<link rel="stylesheet" href="../coverage/jacoco-resources/prettify.css" charset="UTF-8" type="text/css" />
<link rel="shortcut icon" href="resources/report.gif" type="image/gif" />
<style>
table, th, td {
border-collapse: collapse;
padding: 3px;
}
table tbody tr td {
border-left: #b0b0b0 3px solid;
}
table tbody tr td:nth-child(2) {
border-left: none;
}
th {
background-color:#e0e0e0;
}
table tbody td:hover {
background: #f0f0d0;
}
</style>
<script type="text/javascript" src="../coverage/jacoco-resources/prettify.js"></script>
<title>JaCoCo - Build</title>
</head>
Expand Down Expand Up @@ -91,55 +73,104 @@ <h2>Compilation and testing with different JDKs</h2>
</p>

<p>
Following table shows how modules will be compiled depending on version of JDK:
Following table shows in which classfile version modules will be compiled to
depending on version of JDK (empty cells = no compilation possible):
</p>

<table>
<table class="coverage">
<thead>
<tr>
<th></th>
<th>JDK 5</th>
<th>JDK 6</th>
<th>JDK 7</th>
<th>JDK 8</th>
<th>JDK 9</th>
<th>JDK 10</th>
<th>JDK 11</th>
<th>JDK 12</th>
<th>JDK 13</th>
<th>JDK 14</th>
<td>Modules</td>
<td>JDK 5</td>
<td>JDK 6</td>
<td>JDK 7</td>
<td>JDK 8</td>
<td>JDK 9</td>
<td>JDK 10</td>
<td>JDK 11</td>
<td>JDK 12</td>
<td>JDK 13</td>
<td>JDK 14</td>
</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>
<td>org.jacoco.core.test.validation.java14</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>14</td>
</tr>
<tr>
<th>org.jacoco.core.test.validation.java8</th>
<td colspan="3">excluded from build</td>
<td colspan="7">compiled into bytecode version 52 (Java 8)</td>
<td>org.jacoco.core.test.validation.java8</td>
<td></td>
<td></td>
<td></td>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
</tr>
<tr>
<th>org.jacoco.core.test.validation.java7</th>
<td colspan="2">excluded from build</td>
<td colspan="8" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
<td>org.jacoco.core.test.validation.java7</td>
<td></td>
<td></td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
</tr>
<tr>
<th>org.jacoco.core.test.validation.groovy</th>
<td colspan="2">excluded from build</td>
<td>org.jacoco.core.test.validation.groovy</td>
<td></td>
<td></td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
</tr>
<tr>
<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="3" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
<td>org.jacoco.core.test.validation.kotlin</td>
<td></td>
<td>6</td>
<td>6</td>
<td>6</td>
<td>6</td>
<td>6</td>
<td>6</td>
<td>7</td>
<td>7</td>
<td>7</td>
</tr>
<tr>
<th>all other modules</th>
<td colspan="4">compiled into bytecode version 49 (Java 5)</td>
<td colspan="3">compiled into bytecode version 50 (Java 6)</td>
<td>all other modules</td>
<td>5</td>
<td>5</td>
<td>5</td>
<td>5</td>
<td>6</td>
<td>6</td>
<td>6</td>
<td>7</td>
<td>7</td>
<td>7</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 6ceb019

Please sign in to comment.