Hi,
Can I have a review for the following problem:
The MACOSX JDK (more precisely - the java.net classes) uses the select()
system call to wait for different events on sockets fds. And the default
behaviour for select() on Darwin is to fail when fdset contains the fd
with id greater than FDSET_SIZE(=1024). Test case in webrev illustrates
this behavior.
There is at least one solution for it: use -D_DARWIN_UNLIMITED_SELECT
compilation flag for all macosx sources: this won't affect other parts
of JDK because they are not using select().
Currently, I have added this compilation flag to
common/autoconf/generated-configure.sh and
common/autoconf/generated-configure.sh. I wonder, if there is a better
place where I can put this flag?
The webrev: http://cr.openjdk.java.net/~aefimov/8021820/webrev.00/
BUG: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8021820
Thanks,
-Aleksej