8254692: (se) Clarify the behaviour of the non-abstract SelectorProvider::inheritedChannel

Reviewed-by: chegar, bpb, alanb
This commit is contained in:
Fernando Guallini 2020-10-21 14:54:19 +00:00 committed by Alan Bateman
parent c9269bf59e
commit f813a28b95
3 changed files with 74 additions and 25 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -301,6 +301,9 @@ public abstract class SelectorProvider {
* returned. Subsequent invocations of this method return the same
* channel. </p>
*
* @implSpec The default implementation of this method returns
* {@code null}.
*
* @return The inherited channel, if any, otherwise {@code null}.
*
* @throws IOException