On Wed, 24 Apr 2024 16:21:39 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:

> This patch fixes leak reporting in `ForbiddenHeadTest.java` and 
> `ProxySelectorTest.java`.
> 
> The tests were checking for leaks, but the detected problems were not 
> reported to the test harness. Additionally, `ForbiddenHeadTest.java` was 
> holding references to the clients, preventing them from being collected by GC.
> 
> The tests continue to pass.

This pull request has now been integrated.

Changeset: e4ed7ced
Author:    Daniel Jeliński <djelin...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/e4ed7ced75c53cf5ff40c5dae4830b1ee2589802
Stats:     30 lines in 2 files changed: 7 ins; 0 del; 23 mod

8331063: Some HttpClient tests don't report leaks

Reviewed-by: dfuchs, vtewari, michaelm

-------------

PR: https://git.openjdk.org/jdk/pull/18938

Reply via email to