Skip to content

Commit

Permalink
Adopt the tls 1.3 workaround for jdk11 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
unidevel authored Jan 31, 2025
1 parent 0a13cd7 commit c5a1269
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<air.checkstyle.config-file>src/checkstyle/presto-checks.xml</air.checkstyle.config-file>
<air.javadoc.lint>-missing</air.javadoc.lint>

<dep.jetty-utils.version>9.4.14.v20181114</dep.jetty-utils.version>
<dep.airlift.version>0.188</dep.airlift.version>
<dep.packaging.version>${dep.airlift.version}</dep.packaging.version>
<dep.testng.version>6.10</dep.testng.version>
Expand All @@ -52,6 +53,12 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${dep.jetty-utils.version}</version>
</dependency>

<dependency>
<groupId>com.facebook.airlift</groupId>
<artifactId>bootstrap</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions presto-release-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
</properties>

<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
</dependency>

<dependency>
<groupId>com.facebook.airlift</groupId>
<artifactId>bootstrap</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.facebook.presto.release.tasks.GenerateReleaseNotesCommand;
import io.airlift.airline.Cli;
import io.airlift.airline.Help;
import org.eclipse.jetty.util.ssl.SslContextFactory;

public class PrestoReleaseService
{
Expand All @@ -27,6 +28,8 @@ private PrestoReleaseService()

public static void main(String[] args)
{
SslContextFactory sslContextFactory = new SslContextFactory();
sslContextFactory.setExcludeProtocols("TLSv1.3");
Cli<Runnable> parser = Cli.<Runnable>builder("release")
.withDescription("Presto Release")
.withDefaultCommand(Help.class)
Expand Down

0 comments on commit c5a1269

Please sign in to comment.