DevPollSelector on Linux

Martin Buchholz martinrb at google.com
Mon Aug 30 12:41:34 PDT 2010


Hi nio maintainers,

It appears that the intent of make/java/nio/Makefile that DevPollSelector*
is only built/included on the Solaris platform,
but ... it it is built/included on Linux as well,
because ... DefaultSelectorProvider has an explicit reference to it:

./src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java:51:
return new sun.nio.ch.DevPollSelectorProvider();

Is that a bug?  Should DefaultSelectorProvider use reflection to find its
default provider?

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20100830/a6c62716/attachment.html 


More information about the nio-dev mailing list