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

Vyom Tewari vtewari at openjdk.org
Thu Apr 25 05:05:37 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 IK to me.

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

Marked as reviewed by vtewari (Committer).

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


More information about the net-dev mailing list