Updated patch for JTReg test java/net/MulticastSocket/SetOutgoingIf.java

Alan Bateman Alan.Bateman at Sun.COM
Thu Sep 24 04:25:38 PDT 2009


Pavel Tisnovsky wrote:
> Hi,
>
> updated patch for regression test 
> java/net/MulticastSocket/SetOutgoingIf.java is exposed at
>
> http://cr.openjdk.java.net/~ptisnovs/JTReg_SetOutgoinfIf_isUp/
>
> This patch ensures, that this test uses only network devices 
> supporting multicast and also that the device is in "up" state.
>
> Tested on: Fedora 10 i386, RHEL 5.3 x86_64
>
> Pavel Tisnovsky
This looks good to me. An alternative would be to re-order so that isUp 
is checked first (but it doesn't really matter).

BTW: Did you track down that other test failure you mentioned to Chris? 
Also, there are other multicast in 
test/java/nio/channels/DatagramChannel that would be good to exercise. 
(these are new in jdk7 as DatagramChannel's support for multicasting is 
new).

-Alan.





More information about the net-dev mailing list