changeset 16916:3bffd193a3a5

8177565: java/nio/channels/Selector/SelectorLimit.java disabled for Windows release >= 6.0 Summary: Remove check of Windows version Reviewed-by: alanb
author bpb
date Fri, 24 Mar 2017 15:02:19 -0700
parents acd4fd0fd6e8
children fb54b256d751 bbf040535813
files test/java/nio/channels/Selector/SelectorLimit.java
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/nio/channels/Selector/SelectorLimit.java	Fri Mar 24 14:46:52 2017 -0700
+++ b/test/java/nio/channels/Selector/SelectorLimit.java	Fri Mar 24 15:02:19 2017 -0700
@@ -66,15 +66,6 @@
     static final int MIN_KEYS = 100;
 
     public static void main(String[] args) throws Exception {
-        // win9X can't handle many connections at once
-        String osName = System.getProperty("os.name");
-        if (osName.toLowerCase().startsWith("win")) {
-            if (!(osName.equals("Windows NT")
-                  || osName.equals("Windows 2000")
-                  || osName.equals("Windows XP")))
-                return;
-        }
-
         ServerSocketChannel ssc = ServerSocketChannel.open();
         TestUtil.bind(ssc);
         Listener lth = new Listener(ssc);