JDK version bump cleaups, bump minimum Gradle version to 8.1 (#454)

* Bump JDK when running simple gradle CI jobs
* Bump minimum Gradle version to 8.1
* Fix docs, and fix minimum version checker
This commit is contained in:
Daniel Chao
2024-04-26 10:42:39 -04:00
committed by GitHub
parent a7c7e51180
commit e28d747418
17 changed files with 21 additions and 25 deletions

View File

@@ -101,9 +101,6 @@ final class JdkHttpClient implements HttpClient {
"errorSslHandshake", request.uri().getHost(), Exceptions.getRootReason(e)));
} catch (SSLException e) {
throw new SSLException(Exceptions.getRootReason(e));
} catch (IOException e) {
// JDK 11 throws IOException instead of SSLHandshakeException
throw new IOException(Exceptions.getRootReason(e));
} catch (InterruptedException e) {
// next best thing after letting (checked) InterruptedException bubble up
Thread.currentThread().interrupt();