--- a/test/jdk/java/io/FileOutputStream/AtomicAppend.java Fri May 25 15:34:45 2018 +0530
+++ b/test/jdk/java/io/FileOutputStream/AtomicAppend.java Fri May 25 07:22:37 2018 -0700
@@ -25,9 +25,6 @@
* @test
* @bug 6631352
* @summary Check that appends are atomic
- * @library /test/lib
- * @build jdk.test.lib.Platform
- * @run main AtomicAppend
*/
import java.io.File;
@@ -36,8 +33,6 @@
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
-import jdk.test.lib.Platform;
-
public class AtomicAppend {
// Before the fix for
// 6631352: Implement atomic append mode using FILE_APPEND_DATA (win)
@@ -78,15 +73,6 @@
if (x == null ? y == null : x.equals(y)) pass();
else fail(x + " not equal to " + y);}
public static void main(String[] args) throws Throwable {
- if (Platform.isOSX()) {
- final String version = "10.13";
- int ineq = Platform.compareOsVersion(version);
- if (ineq >= 0) {
- System.out.format("Skipping test for macOS version %s >= %s%n",
- Platform.getOsVersion(), version);
- return;
- }
- }
new AtomicAppend().instanceMain(args);
}
void instanceMain(String[] args) throws Throwable {