8177559: Enable java/nio/channels/Selector/OutOfBand.java for macOS >= 10.10.5
authorbpb
Tue, 28 Mar 2017 09:02:59 -0700
changeset 44414 06222fd091b4
parent 44369 b5c4e28a7521
child 44415 6acf3aa6d3e9
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
jdk/test/ProblemList.txt
jdk/test/java/nio/channels/Selector/OutOfBand.java
--- 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
  */