- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for setSslSocketFactoryFailsOnJdk9 (0.15 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
fun urlWithBadAsciiHost() { assertFailsWith<IllegalArgumentException> { "http://host\u0001/".toHttpUrl() } } @Suppress("DEPRECATION_ERROR") @Test fun setSslSocketFactoryFailsOnJdk9() { platform.assumeJdk9() assertFailsWith<UnsupportedOperationException> { client .newBuilder() .sslSocketFactory(handshakeCertificates.sslSocketFactory()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)