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

Patrick Concannon pconcannon at openjdk.java.net
Fri Nov 13 11:35:00 UTC 2020


On Mon, 2 Nov 2020 17:14:28 GMT, Patrick Concannon <pconcannon 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

This pull request has now been integrated.

Changeset: 5973e91c
Author:    Patrick Concannon <pconcannon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5973e91c
Stats:     126 lines in 2 files changed: 123 ins; 0 del; 3 mod

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

Reviewed-by: dfuchs

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

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


More information about the net-dev mailing list