Skip to content

Commit

Permalink
Revert TLS workaround after upgrading to JDK17
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aureliony authored and damithc committed Jul 30, 2024
1 parent 87a1319 commit 82598c1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 82598c1

Please sign in to comment.