8177559: Enable java/nio/channels/Selector/OutOfBand.java for macOS >= 10.10.5
Summary: Enable test for macOS 10.10.5 and newer and remove from problem list
Reviewed-by: alanb, amlu
--- a/jdk/test/ProblemList.txt Mon Mar 27 18:52:47 2017 -0700
+++ b/jdk/test/ProblemList.txt Tue Mar 28 09:02:59 2017 -0700
@@ -180,8 +180,6 @@
java/nio/channels/DatagramChannel/ChangingAddress.java 7141822 macosx-all
-java/nio/channels/Selector/OutOfBand.java 7132677 macosx-all
-
java/nio/file/WatchService/Basic.java 7158947 solaris-all Solaris 11
java/nio/file/WatchService/MayFlies.java 7158947 solaris-all Solaris 11
java/nio/file/WatchService/LotsOfEvents.java 7158947 solaris-all Solaris 11
--- a/jdk/test/java/nio/channels/Selector/OutOfBand.java Mon Mar 27 18:52:47 2017 -0700
+++ b/jdk/test/java/nio/channels/Selector/OutOfBand.java Tue Mar 28 09:02:59 2017 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2017, 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
@@ -23,6 +23,9 @@
/* @test
* @bug 6213702
+ * @requires (os.family != "mac") | (os.version == "10.10.5")
+ * | (os.simpleVersion != "10.8" & os.simpleVersion != "10.9"
+ * & os.simpleVersion != "10.10")
* @summary OOB data causes a SocketChannel, with OOBINLINE disabled, to be
* selected
*/