Skip to content

Commit

Permalink
Upgrade required JVM version to 17.0.8
Browse files Browse the repository at this point in the history
Previous versions are affected by https://bugs.openjdk.org/browse/JDK-8294677
  • Loading branch information
wendigo committed Jan 4, 2024
1 parent 9932acd commit 585f6fe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ information about reporting vulnerabilities.
## Build requirements

* Mac OS X or Linux
* Java 17.0.5+, 64-bit
* Java 17.0.8+, 64-bit
* Docker
* Turn SELinux or other systems disabling write access to the local checkout
off, to allow containers to mount parts of the Trino source tree
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ else if ("Mac OS X".equals(osName)) {

private static void verifyJavaVersion()
{
Version required = Version.parse("17.0.5");
Version required = Version.parse("17.0.8");

if (Runtime.version().compareTo(required) < 0) {
failRequirement("Trino requires Java %s at minimum (found %s)", required, Runtime.version());
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/sphinx/installation/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

### Java runtime environment

Trino requires a 64-bit version of Java 17, with a minimum required version of 17.0.5.
Trino requires a 64-bit version of Java 17, with a minimum required version of 17.0.8.
Earlier major versions such as Java 8 or Java 11 do not work.
Newer major versions such as Java 18 or 19, are not supported -- they may work, but are not tested.

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
<air.check.skip-spotbugs>true</air.check.skip-spotbugs>
<air.check.skip-pmd>true</air.check.skip-pmd>
<air.check.skip-jacoco>true</air.check.skip-jacoco>
<air.java.version>17.0.5</air.java.version>
<air.java.version>17.0.8</air.java.version>
<air.javadoc.lint>-missing</air.javadoc.lint>
<air.main.basedir>${project.basedir}</air.main.basedir>
<air.modernizer.java-version>8</air.modernizer.java-version>
Expand Down

0 comments on commit 585f6fe

Please sign in to comment.