RFR [8u-dev]:8072384:Setting IP_TOS on java.net sockets not working on unix

Michael McMahon michael.x.mcmahon at oracle.com
Fri Jun 12 10:55:45 UTC 2015


On 12/06/15 10:05, Seán Coffey wrote:
> Michael,
>
> I'd like to backport this fix to JDK 8u60. The port is pretty much the 
> same as 9 except for modular path changes. The OptionsTest modified in 
> jdk9 fix does not exist in jdk8u (test was for new API in JDK 9)
>
> As a result, I was able to modify the jdk/net/Sockets/Test.java test 
> instead. Only real way to test this in any case is via network snoops 
> and they look good.
>
> bug report : https://bugs.openjdk.java.net/browse/JDK-8072384
> jdk 8u webrev : 
> http://cr.openjdk.java.net/~coffeys/webrev.8072384.8u/webrev/
>

Formatting issue at 
src/share/classes/java/net/AbstractPlainSocketImpl.java:323

Otherwise looks fine to me.

Michael


More information about the net-dev mailing list