a socket impl question?
Sand Stone
sand.m.stone at gmail.com
Sat Jan 12 15:20:03 PST 2013
Hi, JDK devs.
Is there a reason the impl not there below?
jdk/src/windows/classes/java/net/PlainSocketImpl.java
public void setOption(int opt, Object val) throws SocketException {
setOption(opt, val); // Why not impl.setOption(opt, val);?
}
public Object getOption(int opt) throws SocketException {
return impl.getOption(opt);
}
More generally, is there a general way to pass a non
StandardSocketOptions option
the down to the socket fd without having to go through the JNI path on
Windows?
Note that on Linux at least the option can be passed directly to the
built-in C native path.
Thanks much!
More information about the jdk7u-dev
mailing list