# HG changeset patch # User bpb # Date 1490372218 25200 # Node ID bdc8543c97f559bc7f5015806bdc4a9ed0e42613 # Parent 588e52811bf4fe3b44c6a22a3dc2fd9b835e2510 8177550: (fc) Enable java/nio/channels/FileChannel/{Transfer4GBFile.java,TransferTo6GBFile.java} on Linux and Windows Summary: Re-enabled tests currently suppressed on Linux and Windows as the timeouts have been increased. Reviewed-by: alanb diff -r 588e52811bf4 -r bdc8543c97f5 jdk/test/java/nio/channels/FileChannel/Transfer4GBFile.java --- a/jdk/test/java/nio/channels/FileChannel/Transfer4GBFile.java Thu Mar 23 22:57:12 2017 +0000 +++ b/jdk/test/java/nio/channels/FileChannel/Transfer4GBFile.java Fri Mar 24 09:16:58 2017 -0700 @@ -52,11 +52,6 @@ // Test transferTo with large file @Test public void xferTest04() throws Exception { // for bug 4638365 - // Windows and Linux can't handle the really large file sizes for a - // truncate or a positional write required by the test for 4563125 - String osName = System.getProperty("os.name"); - if (!(osName.startsWith("SunOS") || osName.contains("OS X"))) - return; File source = File.createTempFile("blah", null); source.deleteOnExit(); long testSize = ((long)Integer.MAX_VALUE) * 2; diff -r 588e52811bf4 -r bdc8543c97f5 jdk/test/java/nio/channels/FileChannel/TransferTo6GBFile.java --- a/jdk/test/java/nio/channels/FileChannel/TransferTo6GBFile.java Thu Mar 23 22:57:12 2017 +0000 +++ b/jdk/test/java/nio/channels/FileChannel/TransferTo6GBFile.java Fri Mar 24 09:16:58 2017 -0700 @@ -50,11 +50,6 @@ // Test transferTo with file positions larger than 2 and 4GB @Test public void xferTest08() throws Exception { // for bug 6253145 - // Creating a sparse 6GB file on Windows takes too long - String osName = System.getProperty("os.name"); - if (osName.startsWith("Windows")) - return; - final long G = 1024L * 1024L * 1024L; // Create 6GB file