THRIFT-5702 Support Java 8
Client: Java
Patch: Fokko Driesprong

This closes #2785
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c3d98b0..542e768 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -435,7 +435,7 @@
         with:
           distribution: temurin
           # here we intentionally use an older version so that we also verify Java 17 compiles to it
-          java-version: 11
+          java-version: 8
           cache: "gradle"
 
       - name: Install openssl and certificates (for SSL tests)