changeset 44366:18a7c084f50a

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 15a9dd7386b1
children a81c9c6619fb 4faa216d993f
files jdk/test/java/nio/channels/Selector/SelectorLimit.java
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/nio/channels/Selector/SelectorLimit.java	Fri Mar 24 14:46:52 2017 -0700
+++ b/jdk/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);