Hi Chris,
Thanks for adding net-dev. I should've posted there in the first place, but
something went wrong. As for your comments:
1) I will add this before pushing the change:
* @summary Verifies that some of the standard BodyPublishers relay exception
* rather than throw it
* @bug 8226303
Is that okay?
2) Done.
Thanks.
> On 18 Jun 2019, at 16:07, Chris Hegarty <[email protected]> wrote:
>
> [ adding net-dev ]
>
> Pavel,
>
>> On 18 Jun 2019, at 14:22, Pavel Rappo <[email protected]> wrote:
>>
>> Hello,
>>
>> Please review the following change:
>>
>> http://cr.openjdk.java.net/~prappo/8226303/webrev.00
>
> This looks good. Just a few minor comments:
>
> 1) Please add the bug no. and a brief summary, to the test tags.
>
> 2) The creation and deletion of a file is necessary to exercise test
> scenario, but this could prove to be problematic, at least
> intermittently on Windows.
>
> 64 Files.delete(file);
> 65 if (Files.exists(file)) { // just an assumption of the test
> 66 throw new RuntimeException("File hasn't been deleted");
> 67 }
>
> Can I suggest that jdk.test.lib.util.FileUtils::deleteFileWithRetry be
> used instead of Files::delete, as it is less likely to fail.
>
> -Chris.