Workaround bug in Sun VM when select() gets interrupted and throws
IOException("Interrupted system call").
See Sun bug 4504001 (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4504001)
Parameters: ioe - Exception to examine True if exception should be ignored on Linux
Determine whether the NPE should be ignored due to bug 6427854.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6427854
Parameters: npe - Exception to examine True if exception should be ignored
Force use of poll based NIO selector on Solaris 10 to work around
Sun bug 6322825. This is done by setting the System property
java.nio.channels.spi.SelectorProvider to "sun.nio.ch.PollSelectorProvider".
The workaround is only applied on Solaris 10, JDK < 1.6.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322825
Determine whether the Solaris 10 workaround should be applied.
see LKC-2436 and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322825
true if the workaround should be applied
windowsConnectWorkaround
public static boolean windowsConnectWorkaround(ClosedSelectorException cse)(Code)
Determine whether to retry during connect on Windows
Parameters: cse - Exception to examine True if should retry
windowsWritevWorkaround
public static boolean windowsWritevWorkaround(IOException ioe)(Code)
Determine whether this IOException should be ignored on Windows. Checks
for an IOException("A non-blocking socket operation could not be completed immediately")
as in http://developer.java.sun.com/developer/bugParade/bugs/4854354.html.
Parameters: ioe - Exception to check True if should be ignored on Windows