RFR: 8358688: HttpClient: Simplify file streaming in RequestPublishers.FilePublisher

Volkan Yazici vyazici at openjdk.org
Fri Jun 6 07:49:52 UTC 2025


On Thu, 5 Jun 2025 14:03:30 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> it might still be better to remove those tests independently in a separate task.

@jaikiran, sure, will do.

> While at it, I think we should also introduce a regression test which does a `BodyPublishers.ofFile(Path)` against a `Path` provided by a ZIP filesystem or some such filesystem which was the cause for failures reported in https://bugs.openjdk.org/browse/JDK-8235459.

Such a test already exists: `FilePublisherTest`. I deleted its SM counterpart: `FilePublisherPermsTest`.

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

PR Comment: https://git.openjdk.org/jdk/pull/25662#issuecomment-2948394630


More information about the net-dev mailing list