JDK 9 RFR of 8177565: java/nio/channels/Selector/SelectorLimit.java disabled for Windows release >= 6.0
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Mar 24 21:38:11 UTC 2017
Please review this test-only issue at your convenience.
Issue: XXX
Patch: [1]
It appears as if this test was intended to disable Windows ME and Windows 95 and older but was never updated to run on Windows Vista and newer so is in effect has been a no-op in all recent regression testing. The test has been verified to pass on Windows 8.1 x64.
Thanks,
Brian
[1] diff
--- a/test/java/nio/channels/Selector/SelectorLimit.java
+++ b/test/java/nio/channels/Selector/SelectorLimit.java
@@ -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;
- }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170324/a57a14ba/attachment.html>
More information about the nio-dev
mailing list