8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
authorcoffeys
Thu, 08 Jan 2015 11:44:10 +0000
changeset 28303 641c5c22c491
parent 28302 5de69b0d3a84
child 28304 00dea76eda49
8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer Reviewed-by: alanb
jdk/src/java.base/windows/classes/sun/nio/ch/FileDispatcherImpl.java
jdk/test/java/nio/channels/FileChannel/TransferToChannel.java
--- a/jdk/src/java.base/windows/classes/sun/nio/ch/FileDispatcherImpl.java	Wed Jan 07 14:15:00 2015 -0800
+++ b/jdk/src/java.base/windows/classes/sun/nio/ch/FileDispatcherImpl.java	Thu Jan 08 11:44:10 2015 +0000
@@ -123,7 +123,7 @@
             new PrivilegedAction<String>() {
                 @Override
                 public String run() {
-                    return System.getProperty("jdk.net.enableFastFileTransfer");
+                    return System.getProperty("jdk.nio.enableFastFileTransfer");
                 }
             });
         boolean enable;
--- a/jdk/test/java/nio/channels/FileChannel/TransferToChannel.java	Wed Jan 07 14:15:00 2015 -0800
+++ b/jdk/test/java/nio/channels/FileChannel/TransferToChannel.java	Thu Jan 08 11:44:10 2015 +0000
@@ -25,7 +25,7 @@
  * @bug 4652496
  * @summary Test transferTo with different target channels
  * @run main TransferToChannel
- * @run main/othervm -Djdk.net.enableFastFileTransfer TransferToChannel
+ * @run main/othervm -Djdk.nio.enableFastFileTransfer TransferToChannel
  */
 
 import java.nio.channels.FileChannel;