提交 7398d59f 编写于 作者: C coffeys

8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to...

8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
上级 d860e86c
......@@ -134,7 +134,7 @@ class FileDispatcherImpl extends FileDispatcher {
new PrivilegedAction<String>() {
@Override
public String run() {
return System.getProperty("jdk.net.enableFastFileTransfer");
return System.getProperty("jdk.nio.enableFastFileTransfer");
}
});
boolean enable;
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册