8276252: java/nio/channels/Channels/TransferTo.java failed with OOM java heap space error

Reviewed-by: lancea
This commit is contained in:
Brian Burkhalter 2021-11-05 17:25:06 +00:00
parent 92d2176362
commit b01f1073f9

View File

@ -52,7 +52,7 @@ import static org.testng.Assert.assertTrue;
* @test
* @library /test/lib
* @build jdk.test.lib.RandomFactory
* @run testng TransferTo
* @run testng/othervm TransferTo
* @bug 8265891
* @summary tests whether sun.nio.ChannelInputStream.transferTo conforms to the
* InputStream.transferTo contract defined in the javadoc