8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
--- 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;