equal
deleted
inserted
replaced
23 |
23 |
24 /* @test |
24 /* @test |
25 * @bug 4652496 |
25 * @bug 4652496 |
26 * @summary Test transferTo with different target channels |
26 * @summary Test transferTo with different target channels |
27 * @run main TransferToChannel |
27 * @run main TransferToChannel |
28 * @run main/othervm -Djdk.net.enableFastFileTransfer TransferToChannel |
28 * @run main/othervm -Djdk.nio.enableFastFileTransfer TransferToChannel |
29 */ |
29 */ |
30 |
30 |
31 import java.nio.channels.FileChannel; |
31 import java.nio.channels.FileChannel; |
32 import java.nio.channels.WritableByteChannel; |
32 import java.nio.channels.WritableByteChannel; |
33 import java.nio.ByteBuffer; |
33 import java.nio.ByteBuffer; |