Ask questionsOkHttp 3.x fails with OpenJDK Zulu 8.0.252
We found that this particular piece of code in okhttp 3.x: https://github.com/square/okhttp/blob/okhttp_3.14.x/okhttp/src/main/java/okhttp3/internal/platform/Jdk9Platform.java#L81-L94 breaks.
This checks for
getApplicationProtocol which are JDK 9. however, these ones got backported to Zulu 8.0.252 causing OkHttp believing that is running on jdk9 and initializing a
Jdk9Platform which breaks projects
Wondering if a patch could be released for 3.x since there are several libraries and projects out there that haven't migrated to 4.x
Answer questions DanielThomas
Looks great! JDK 9 platform activates and the fallback for
UnsupportedOperationException for our incompatible SslSocket wrapper successfully falls back to HTTP/1.