[Fwd: PlainSocketImpl.socketGetOption1() ?]

Christopher Hegarty - Sun Microsystems Christopher.Hegarty at Sun.COM
Wed Oct 10 21:36:35 UTC 2007


Hi Roman,

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!

I will file a new bug against this to have it removed and update this 
mailing list with the bug number when I have it.

-Chris.

Alan Bateman wrote:
> 
> It may be used in the Windows implementation - the networking group will 
> know.
> 
> ------------------------------------------------------------------------
> 
> Subject:
> PlainSocketImpl.socketGetOption1() ?
> From:
> Roman Kennke <roman at kennke.org>
> Date:
> Wed, 10 Oct 2007 22:42:21 +0200
> To:
> Core-Libs-Dev <core-libs-dev at openjdk.java.net>
> 
> To:
> Core-Libs-Dev <core-libs-dev at openjdk.java.net>
> 
> 
> Hi list,
> 
> The PlainSocketImpl family of classes have a method socketGetOption1(),
> which is required by the AbstractPlainSocketImpl class, and implemented
> by the subclasses, but apparently never used. There isn't even a native
> implementation for the native method in PlainSocketImpl. Could this
> method be removed, or is there another story behind this?
> 
> /Roman
> 



More information about the core-libs-dev mailing list