RFR: 8331063: Some HttpClient tests don't report leaks

Michael McMahon michaelm at openjdk.org
Fri Apr 26 10:15:32 UTC 2024


On Wed, 24 Apr 2024 16:21:39 GMT, Daniel Jeliński <djelinski at 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.

Looks fine.

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

Marked as reviewed by michaelm (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18938#pullrequestreview-2024668983


More information about the net-dev mailing list