RFR - 8142872: Remove support for sun.nio.ch.PollSelectorProvider from 9
Alan Bateman
Alan.Bateman at oracle.com
Fri Nov 27 18:52:49 UTC 2015
On 27/11/2015 18:37, Rob McKenna wrote:
> Hi folks,
>
> From time to time we get bugs on PollSelectorProvider despite
> recommending people use alternative implementations. The only way it
> can be used is setting the following system property:
>
> -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider
>
> Superior SelectorProvider implementations exist for all Oracle JDK
> platforms and PollSelectorProvider should not be used on those
> platforms if at all possible. That being the case we'd like to pull it
> from the default build:
>
> http://cr.openjdk.java.net/~robm/8076282/
So in summary, leave the code in jdk repo for those that might want to
use it for porting purposes but exclude it from Linux/Solaris/OSX
builds. That seems reasonable to me as this SelectorProvider is not
interesting/useful on these platforms anymore.
-Alan.
More information about the nio-dev
mailing list