Skip to content

Commit

Permalink
Updated to apache-tomcat-9.0.82
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed Oct 16, 2023
1 parent 4bc45ce commit f57dd2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Expand Up @@ -37,7 +37,7 @@ along with aoserv-daemon. If not, see <https://www.gnu.org/licenses/>.
shortTitle="Changelog"
tocLevels="1"
datePublished="2020-04-16T21:06:03-05:00"
dateModified="2023-10-11T01:00:29Z"
dateModified="2023-10-16T19:52:35Z"
>
<c:set var="latestRelease" value="1.91.10" />
<c:if test="${
Expand All @@ -62,7 +62,7 @@ along with aoserv-daemon. If not, see <https://www.gnu.org/licenses/>.
setting in support of parallel deployments.
</li>
<li>Added support for Apache Tomcat 8.5.94 with MySQL JDBC 8.1.0 and PostgreSQL JDBC 42.6.0.</li>
<li>Added support for Apache Tomcat 9.0.81 with MySQL JDBC 8.1.0 and PostgreSQL JDBC 42.6.0.</li>
<li>Added support for Apache Tomcat 9.0.82 with MySQL JDBC 8.1.0 and PostgreSQL JDBC 42.6.0.</li>
<li>Added support for Apache Tomcat 10.1.14 with MySQL JDBC 8.1.0 and PostgreSQL JDBC 42.6.0.</li>
</ul>
</changelog:release>
Expand Down
Expand Up @@ -181,6 +181,9 @@ protected boolean upgradeTomcatDirectory(String optSlash, PosixFile tomcatDirect
final Version version = new Version(rpm.getVersion(), rpm.getRelease());
final String suffix = osConfig.getPackageReleaseSuffix();
// Downgrade support
if (version.compareTo("9.0.82-1" + suffix) < 0) {
// 9.0.82-1 has same files as 9.0.81-1
}
if (version.compareTo("9.0.81-1" + suffix) < 0) {
// 9.0.81-1 has same files as 9.0.80-1
}
Expand Down Expand Up @@ -1322,7 +1325,10 @@ protected boolean upgradeTomcatDirectory(String optSlash, PosixFile tomcatDirect
if (version.compareTo("9.0.81-1" + suffix) >= 0) {
// 9.0.81-1 has same files as 9.0.80-1
}
if (version.compareTo("9.0.81-1" + suffix) > 0) {
if (version.compareTo("9.0.82-1" + suffix) >= 0) {
// 9.0.82-1 has same files as 9.0.81-1
}
if (version.compareTo("9.0.82-1" + suffix) > 0) {
throw new IllegalStateException("Version of Tomcat newer than expected: " + version);
}
}
Expand Down

0 comments on commit f57dd2a

Please sign in to comment.