Skip to content

Commit

Permalink
Revert gradle downloader TLS handshake workaround again.
Browse files Browse the repository at this point in the history
It magically started working again.

partially reverts c0f09c9
  • Loading branch information
mbien committed Feb 2, 2024
1 parent 9f45a89 commit a950418
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@
*/
public class MicronautGradleArtifactsImplTest extends NbTestCase {

static {
// TODO remove ASAP from MicronautGradleArtifactsImplTest and ProjectViewTest
// investigate "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"
// during gradle download "at org.netbeans.modules.gradle.spi.newproject.TemplateOperation$InitStep.execute(TemplateOperation.java:317)"
// this looks like a misconfigured webserver to me
System.setProperty("https.protocols", "TLSv1.2");
}

public MicronautGradleArtifactsImplTest(String name) {
super(name);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ public class ProjectViewTest extends NbTestCase {
private final Gson gson = new Gson();
private Socket clientSocket;
private Thread serverThread;

static {
// TODO remove ASAP from MicronautGradleArtifactsImplTest and ProjectViewTest
// investigate "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"
// during gradle download "at org.netbeans.modules.gradle.spi.newproject.TemplateOperation$InitStep.execute(TemplateOperation.java:317)"
// this looks like a misconfigured webserver to me
System.setProperty("https.protocols", "TLSv1.2");
}

public ProjectViewTest(String name) {
super(name);
Expand Down

0 comments on commit a950418

Please sign in to comment.