Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
5.3.1
-
None
-
None
Description
This is the link to the line of code
https://github.com/apache/httpcomponents-client/blob/2e46b62ffd8c0e00ac7438c6c81b9ac6ec445149/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/DefaultClientTlsStrategy.java#L155
If you look at the source code for javax.net.ssl.SSLParameters, the setApplicationProtocols is not available in Java 8, and it specifically says "@since 9", and this is causing a NoSuchMethodError on Android.