RFR: 7131399: Poll system call appears to be broken on Mac OS [macosx]
Michael McMahon
michael.x.mcmahon at oracle.com
Mon Jan 23 09:11:14 PST 2012
On 23/01/12 17:09, Michael McMahon wrote:
> Can I get the following change reviewed please?
>
> http://cr.openjdk.java.net/~michaelm/7131399/webrev.1/
>
> The problem is that poll(2) doesn't seem to work in a specific edge
> case tested by JCK,
> namely, when a zero length UDP message is sent on a DatagramSocket.
> The problem is only
> detected on timed reads, ie. normal blocking reads work fine.
>
> The fix is to make the NET_Timeout() function use select() instead of
> poll().
>
> Thanks,
> Michael.
>
>
>
Forgot to mention, that the second file in the webrev is a file that
needs to be
removed from the repo, and which was added unintentionally in a previous
merge.
Thanks,
Michael.
More information about the macosx-port-dev
mailing list