changeset 11212:bc74cc84c49e

8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer Reviewed-by: alanb
author coffeys
date Thu, 08 Jan 2015 11:44:10 +0000
parents 8efdc47cdc0c
children 8b619a62ca00
files src/java.base/windows/classes/sun/nio/ch/FileDispatcherImpl.java test/java/nio/channels/FileChannel/TransferToChannel.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/windows/classes/sun/nio/ch/FileDispatcherImpl.java	Wed Jan 07 14:15:00 2015 -0800
+++ b/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/test/java/nio/channels/FileChannel/TransferToChannel.java	Wed Jan 07 14:15:00 2015 -0800
+++ b/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;