RFR: 8367068: Remove redundant HttpRequest.BodyPublisher tests
Daniel Fuchs
dfuchs at openjdk.org
Mon Sep 22 13:30:32 UTC 2025
On Mon, 22 Sep 2025 10:18:30 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:
>> Remove `HttpRequest.BodyPublisher` tests rendered redundant by [JDK-8367067] (#26876).
>>
>> [JDK-8367067]: https://bugs.openjdk.org/browse/JDK-8367067
>
> test/jdk/java/net/httpclient/FilePublisherTest.java line 160:
>
>> 158:
>> 159: @Test
>> 160: public void testFileNotFound() throws Exception {
>
> Duplicates [OfFileTest::testNonExistentPath].
>
> [OfFileTest::testNonExistentPath]: https://github.com/openjdk/jdk/blob/e8db14f584fa92db170e056bc68074ccabae82c9/test/jdk/java/net/httpclient/HttpRequestBodyPublishers/OfFileTest.java#L97
The original test was also testing with a Path coming from a non-default filesystem (ZipFs) - does the new test still have that?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27421#discussion_r2368372643
More information about the net-dev
mailing list