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

Reviewed-by: alanb
This commit is contained in:
Sean Coffey 2015-01-08 11:44:10 +00:00
parent 29fc16ebbe
commit c20d40c269
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,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;

View File

@ -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;