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

Patrick Concannon pconcannon at openjdk.java.net
Mon Nov 2 17:22:00 UTC 2020


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

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

Commit messages:
 - Merge remote-tracking branch 'origin/master' into JDK-8253005
 - Merge remote-tracking branch 'origin/master' into JDK-8253005
 - 8253005: Add `@throws IOException` in javadoc for `HttpEchange.sendResponseHeaders`

Changes: https://git.openjdk.java.net/jdk/pull/1014/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1014&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253005
  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1014.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1014/head:pull/1014

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


More information about the net-dev mailing list