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 (Not available yet)
Webrev : http://cr.openjdk.java.net/~khazra/7127771/webrev.00/

Thanks,
Kurchi

Reply via email to