Hi, Please find below a fix for:
8181422: ClassCastException in HTTP Client https://bugs.openjdk.java.net/browse/JDK-8181422 webrev: http://cr.openjdk.java.net/~dfuchs/webrev_8181422/webrev.00/ The code base was missing an asynchronous version of the SSLTunnelConnection to support tunnelling SSL HTTP/2 requests through an HTTP/1.1 proxy and downgrading to an SSL HTTP/1.1 tunnel connection in case ALPN negotiation of h2 failed. best regards, -- daniel