Skip to content

Commit 4c3d774

Browse files
authored
Merge pull request #9141 from mbien/revert-gradle-dl-handshake-workaround-2
Revert gradle downloader TLS handshake workaround again.
2 parents 0983c5e + e747fb3 commit 4c3d774

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

enterprise/micronaut/test/unit/src/org/netbeans/modules/micronaut/gradle/MicronautGradleArtifactsImplTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@
4545
*/
4646
public class MicronautGradleArtifactsImplTest extends NbTestCase {
4747

48-
static {
49-
// TODO remove ASAP from MicronautGradleArtifactsImplTest and ProjectViewTest
50-
// investigate "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"
51-
// during gradle download "at org.netbeans.modules.gradle.spi.newproject.TemplateOperation$InitStep.execute(TemplateOperation.java:317)"
52-
// this looks like a misconfigured webserver to me
53-
System.setProperty("https.protocols", "TLSv1.2");
54-
}
55-
5648
public MicronautGradleArtifactsImplTest(String name) {
5749
super(name);
5850
}

java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/explorer/ProjectViewTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,6 @@ public class ProjectViewTest extends NbTestCase {
102102
private final Gson gson = new Gson();
103103
private Socket clientSocket;
104104
private Thread serverThread;
105-
106-
static {
107-
// TODO remove ASAP from MicronautGradleArtifactsImplTest and ProjectViewTest
108-
// investigate "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"
109-
// during gradle download "at org.netbeans.modules.gradle.spi.newproject.TemplateOperation$InitStep.execute(TemplateOperation.java:317)"
110-
// this looks like a misconfigured webserver to me
111-
System.setProperty("https.protocols", "TLSv1.2");
112-
}
113105

114106
public ProjectViewTest(String name) {
115107
super(name);

0 commit comments

Comments
 (0)