Code Review Request: 7127771: (macosx)test/java/net/Socket/TrafficClass.java fails on Mac OS X (original) (raw)
Kurchi Hazra kurchi.subhra.hazra at oracle.com
Wed Jan 11 11:15:59 PST 2012
- Previous message: Review request: 7129152 -- multiple calls to System.setProperties(null) crash VM
- Next message: Code Review Request: 7127771: (macosx)test/java/net/Socket/TrafficClass.java fails on Mac OS X
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Review request: 7129152 -- multiple calls to System.setProperties(null) crash VM
- Next message: Code Review Request: 7127771: (macosx)test/java/net/Socket/TrafficClass.java fails on Mac OS X
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]