RFR: 8253005: Add `@throws IOException` in javadoc for `HttpEchange.sendResponseHeaders`

Patrick Concannon pconcannon at openjdk.java.net
Mon Nov 2 18:37:55 UTC 2020


On Mon, 2 Nov 2020 17:46:27 GMT, Chris Hegarty <chegar at openjdk.org> wrote:

>> Hi,
>> 
>> Could someone please review my fix for JDK-8253005: 'Add `@throws IOException` in javadoc for `HttpEchange.sendResponseHeaders`' ?
>> 
>> The method `HttpEchange.sendResponseHeaders` throws an `IOException` but is unspecified in its javadoc. This fix adds an `@throws IOException` to its specification and a description of the conditions under which the exception is thrown.
>> 
>> Kind regards,
>> Patrick
>
> Marked as reviewed by chegar (Reviewer).

> /csr needed

CSR can be viewed here: https://bugs.openjdk.java.net/browse/JDK-8255778

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

PR: https://git.openjdk.java.net/jdk/pull/1014


More information about the net-dev mailing list