Hi Severin, Overall code changes looks ok to me, I build & tested at my local REL it worked fine for me.
Below are few minor comments. 1-> Net.java 1.1-> I think you don't need to explicitly convert value to integer and then pass it. You can avoid the local int variable creation as follows. ExtendedOptionsImpl.setTcpKeepAliveIntvl(fd, (Integer)value); 1.2-> In getSocketOption you don't need to explicitly cast it to Integer. return ExtendedOptionsImpl.getTcpKeepAliveIntvl(fd); 2-> PlainSocketImpl.java 1.1 -> In setOption(SocketOption<T> name, T value) you can avoid the local int variable. 3-> Any specific reason for two set of functions "setTcpKeepAliveTime0 and setTcpKeepAliveTime" for all three socket options ? Thanks, Vyom On Fri, Jun 26, 2020 at 1:08 PM Severin Gehwolf <sgehw...@redhat.com> wrote: > Hi, > > On Thu, 2020-06-25 at 23:55 +0000, Bernd Eckenfels wrote: > > This would be a great addition. > > Thanks. > > > I do not understand why it does not support the options available for > > Windows. Especially given the fact that it actually implements 6 > > native methods to print "Unsupported". > > > > But I guess that's less a question to the backport and more to the > > general implementation. > > Yes, indeed. This should be brought up for discussion in JDK head first > and implemented there before we can consider a backport. > > Thanks, > Severin > > > -- Thanks, Vyom