提交 54a74d7a 编写于 作者: M michaelm

8047187: Test jdk/net/Sockets/Test.java fails to compile after fix JDK-8046588

Reviewed-by: chegar
上级 015e7b1d
......@@ -78,7 +78,10 @@ public class Test {
final int udp_port = dg.getLocalPort();
// If option not available, end test
Set<SocketOption<?>> options = dg.supportedOptions();
Set<SocketOption<?>> options = Sockets.supportedOptions(
DatagramSocket.class
);
if (!options.contains(ExtendedSocketOptions.SO_FLOW_SLA)) {
System.out.println("SO_FLOW_SLA not supported");
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册