< prev index next >

test/jdk/jdk/net/Sockets/ExtOptionTest.java

Print this page
rev 59383 : [mq]: final

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -46,15 +46,10 @@
                 ss.setOption(TCP_QUICKACK, true);
                 if (!ss.getOption(TCP_QUICKACK)) {
                     throw new RuntimeException("Test failed, TCP_QUICKACK should"
                             + " have been set");
                 }
-            } else if (operSys.equals("SunOS")) {
-                if (ss.supportedOptions().contains(SO_FLOW_SLA)) {
-                    throw new RuntimeException("Test failed, SO_FLOW_SLA is not "
-                            + "applicable for ServerSocket");
-                }
             } else {
                 if (ss.supportedOptions().contains(TCP_QUICKACK)) {
                     ss.setOption(TCP_QUICKACK, true);
                     if (!ss.getOption(TCP_QUICKACK)) {
                         throw new RuntimeException("Test failed, TCP_QUICKACK should"
< prev index next >