YongGoose commented on PR #7492: URL: https://github.com/apache/incubator-seata/pull/7492#issuecomment-3132796640
> The CloseableHttpAsyncClient you built is different for JDK 8 and versions above JDK 8. I think this is the reason for the issue. I don't understand why JDK 8 needs to be treated differently. As far as I remember, in OkHttp, both JDK 8 and higher versions support HTTP/2. Is there any difference with Apache HttpClient? Apache HttpClient5 requires ALPN for HTTP/2. However, JDK 8 does not provide ALPN support out of the box. To enable HTTP/2 on JDK 8, i implemented it using Conscrypt. - https://stackoverflow.com/questions/53387107/conscrypt-with-jdk8-to-enable-alpn-for-http2 Because of this limitation, even when we didn’t explicitly differentiate JDK 8, the build still failed on JDK 8. - https://github.com/apache/incubator-seata/actions/runs/16593932387/job/46941952693 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
