Code Review Request: 7127771: (macosx)test/java/net/Socket/TrafficClass.java fails on Mac OS X

Kurchi Hazra kurchi.subhra.hazra at oracle.com
Fri Jan 13 12:05:45 PST 2012


Resending this request

- Kurchi



On 1/11/2012 11:15 AM, Kurchi Hazra wrote:
>
> Hi,
>
> For IPv6 on solaris or linux, setting the traffic class option is 
> handled in the java layer.
> The native calls to set socket option simply returns a success and get 
> socket option
> returns a dummy -1 value. test/java/net/Socket/TrafficClass.java
> was failing on Mac OS X when using the IPv6 stack with an Invalid 
> Argument Socket
> Exception since this native handling was missing when setting socket 
> option.
>
> The following change incorporates the required native behavior for Mac 
> OS.
>
> Bug :  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7127771
> Webrev : http://cr.openjdk.java.net/~khazra/7127771/webrev.00/
>
> Thanks,
> Kurchi
>

-- 
-Kurchi




More information about the net-dev mailing list