On Sun, 23 Mar 2025 07:07:10 GMT, Chen Liang <li...@openjdk.org> wrote:
> * Can users make any assumption about the connection identity when it is > empty? Such as assuming such connections are all the same (as implied by your > use of `orElse(null)` in tests) or all different? No. If empty is returned you can make no assumptions. In practice this should never be null with our impl (except possibly in whitebox tests) > * If we cannot make any assumption about the empty return value, can users > make any assumption that a `HttpResponse` obtained from the JDK built-in > `HttpClient` always return non-empty for the label? Yes. ------------- PR Comment: https://git.openjdk.org/jdk/pull/24154#issuecomment-2747678612