From 297f2368683c28b24f7c1846b6493b942e1e93d9 Mon Sep 17 00:00:00 2001 From: aureliony <39163684+aureliony@users.noreply.github.com> Date: Sat, 27 Jul 2024 23:50:36 +0800 Subject: [PATCH] Revert TLS workaround after upgrading to JDK17 The SSLProtocolException error when uploading test coverage information no longer occurs with JDK17, so the past workaround of disabling TLSv1.3 is no longer needed. Let's remove the workaround and re-enable TLSv1.3. --- gradle.properties | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 40764dc17..8bee08b60 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,2 @@ org.gradle.parallel=false org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=utf-8 - -# TODO: This is a workaround for a JDK11 bug which causes test coverage upload to fail. -# Remove it when https://bugs.openjdk.java.net/browse/JDK-8221253 is fixed. -systemProp.jdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"