[Fwd: PlainSocketImpl.socketGetOption1() ?]
roman.kennke at aicas.com
Thu Oct 11 10:56:00 PDT 2007
> This method was added as part of the changes for 4868820: "IPv6 support
> for Windows XP and 2003 server", back in 1.5. But I cannot see anywhere
> that it is called, or as you said even implemented, even when it was
> originally added. I suspect that it was left over from some redesign
> when adding the IPv6 support.
> I actually noticed this went adding support for the dual TCP/IP stack in
> vista, DualStackPlainSocketImpl, and even added a comment to remind me
> to remove it!
The methods java.net.NetworkInterface.getSubnet0() and
java.net.NetworkInterface.getBroadcast0() seem to be affected by the
same problem. May I propose the attached patch to fix?
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4133 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20071011/c0a7aa89/attachment.bin
More information about the net-dev