RFR: 7139770: MacOS JCK failures in DatagramSocket and MulticastSocket (original) (raw)
Michael McMahon michael.x.mcmahon at oracle.com
Mon Jan 30 01:48:17 PST 2012
- Previous message: RFR: 7133499 (fc) FileChannel.read not preempted by asynchronous close on MacOSX
- Next message: RFR: 7139770: MacOS JCK failures in DatagramSocket and MulticastSocket
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Can I get the following webrev reviewed please?
http://cr.openjdk.java.net/~michaelm/7139770/webrev.1/
There are two issues. In DatagramSocket the change uses the peekData() api when available, instead of peek(), which in fact doesn't work at all with our own PlainDatagramSocketImpl (it tries to compare InetAddress instances with Inet4Addresses, which always fails, and it only supports IPv4)
In MulticastSocket I adjusted the recently added code which sets a default interface. The default interface only needs to be set just prior to joining a multicast group, and then only if an interface has not been set previously.
Thanks Michael.
- Previous message: RFR: 7133499 (fc) FileChannel.read not preempted by asynchronous close on MacOSX
- Next message: RFR: 7139770: MacOS JCK failures in DatagramSocket and MulticastSocket
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]