RFR: 8329829: HttpClient: Add a BodyPublishers.ofFileChannel method [v4]

Volkan Yazici vyazici at openjdk.org
Mon Jul 28 09:53:02 UTC 2025


On Mon, 28 Jul 2025 07:05:49 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> I'm not completely sure where it creates those temporary directories.

JUnit `@TempDir` uses the JTreg scratch directory – [JTreg 7.5.2](https://github.com/openjdk/jtreg/blob/master/CHANGELOG.md#752) bundles [CODETOOLS-7903953](https://bugs.openjdk.org/browse/CODETOOLS-7903953) addressing this issue. Shall I still replace these with `Files::cTD`? Or `jdk.test.lib.Utils::createTempFile`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26155#discussion_r2235633407


More information about the net-dev mailing list