Integrated: 8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Jaikiran Pai
jpai at openjdk.org
Wed Jul 24 15:46:39 UTC 2024
On Sat, 20 Jul 2024 07:51:59 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> Can I please get a review of this change which updates the specification of a few methods in `java.net.Socket` and `java.net.ServerSocket` classes to specify the `IOException` that the implementation currently already throws?
>
> This is merely a doc update and doesn't change the implementation.
>
> Given that these exceptions can now be asserted, a new jtreg test has been introduced to verify the exceptions thrown from these APIs. The test passes. tier testing is currently in progress. I'll open a CSR shortly.
This pull request has now been integrated.
Changeset: 04e8cb86
Author: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/04e8cb8641bfdad717b368c087619905bccdf5e6
Stats: 370 lines in 4 files changed: 306 ins; 3 del; 61 mod
8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/20268
More information about the net-dev
mailing list