8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
This commit is contained in:
parent
29fc16ebbe
commit
c20d40c269
@ -123,7 +123,7 @@ class FileDispatcherImpl extends FileDispatcher {
|
|||||||
new PrivilegedAction<String>() {
|
new PrivilegedAction<String>() {
|
||||||
@Override
|
@Override
|
||||||
public String run() {
|
public String run() {
|
||||||
return System.getProperty("jdk.net.enableFastFileTransfer");
|
return System.getProperty("jdk.nio.enableFastFileTransfer");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
boolean enable;
|
boolean enable;
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* @bug 4652496
|
* @bug 4652496
|
||||||
* @summary Test transferTo with different target channels
|
* @summary Test transferTo with different target channels
|
||||||
* @run main TransferToChannel
|
* @run main TransferToChannel
|
||||||
* @run main/othervm -Djdk.net.enableFastFileTransfer TransferToChannel
|
* @run main/othervm -Djdk.nio.enableFastFileTransfer TransferToChannel
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java.nio.channels.FileChannel;
|
import java.nio.channels.FileChannel;
|
||||||
|
Loading…
Reference in New Issue
Block a user