mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8254692: (se) Clarify the behaviour of the non-abstract SelectorProvider::inheritedChannel
Reviewed-by: chegar, bpb, alanb
This commit is contained in:
parent
c9269bf59e
commit
f813a28b95
3 changed files with 74 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue