Since OpenJDk Java 11 getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
问题 Have recently updated application from Oracle Java 9 to AdoptJDk 11.0.6 and I am now seeing errors of the form this code: public static String convertWikidataUrl(String wikidataUrl) { String qPage = wikidataUrl.substring(wikidataUrl.lastIndexOf('/') + 1); String apiUrl = WIKIDATA_IMAGE_API_URL + qPage; try { URL url = new URL(apiUrl); HttpURLConnection uc = (HttpURLConnection) url.openConnection(); int responseCode = uc.getResponseCode(); if (responseCode != HttpURLConnection.HTTP_OK) {