Integrated: 8318150: StaticProxySelector.select should not throw NullPointerExceptions
Daniel Jeliński
djelinski at openjdk.org
Fri Oct 20 06:21:45 UTC 2023
On Mon, 16 Oct 2023 09:21:52 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> `ProxySelector.select` and `connectFailed` methods should throw `IllegalArgumentException`s on null parameters.
>
> Additionally, the `select` method doesn't need to be synchronized - the selector is immutable.
>
> Tier2 green.
This pull request has now been integrated.
Changeset: d9ce525a
Author: Daniel Jeliński <djelinski at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d9ce525a1c27f41ef66c39b3ec18e3a87bbd8dd3
Stats: 75 lines in 2 files changed: 18 ins; 25 del; 32 mod
8318150: StaticProxySelector.select should not throw NullPointerExceptions
Reviewed-by: jpai, dfuchs
-------------
PR: https://git.openjdk.org/jdk/pull/16199
More information about the net-dev
mailing list