jRockit 7.0 - The nio.channels.Selector.select(timeout) method doesn't block under windows - CR089146 (Doc ID 771760.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 7.0
Information in this document applies to any platform

Goal

DESCRIPTION:
java.nio.channels.Selector / public abstract int select(long timeout)

This method performs a blocking selection operation. It returns only after at least one channel is selected, this
selector's wake up method is invoked, the current thread is interrupted, or the given timeout period expires,
whichever comes first. 

But with JRockit 7.0-1.4.0, this method does not block. With Sun JDK 1.4, 1.4.1 & 1.4.1_01, it is working fine.

CONFIGURATION : 
JRockit 7.0-1.4.0-win32-GARAK-20020830-1714 with Native Threads

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms