# HG changeset patch # User chegar # Date 1395867469 0 # Node ID 0d6735c75825fa84ab66db35831c27be3719512e # Parent 1bee92aa2f1f60ddef54041d6edd98568977afb2 8038438: Review comments from 8034181 Reviewed-by: alanb diff -r 1bee92aa2f1f -r 0d6735c75825 jdk/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java --- a/jdk/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java Wed Mar 26 19:53:07 2014 +0000 +++ b/jdk/test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java Wed Mar 26 20:57:49 2014 +0000 @@ -23,7 +23,7 @@ /* @test * @bug 8034181 - * @summary SIGBUS at Java_sun_nio_ch_SctpChannelImpl_receive0 + * @summary SIGBUS in SctpChannelImpl receive * @author chegar */ @@ -49,6 +49,9 @@ /* suitably small message to NOT overrun small buffers */ final byte[] msgBytes = "Hello".getBytes(US_ASCII); + /* number of client connections/combinations (accepted by the server) */ + final int NUM_CONNECTIONS = 75; + void test(String[] args) throws IOException { SocketAddress address = null; Server server; @@ -178,7 +181,7 @@ @Override public void run() { try { - for (int i=0; i<75; i++) { // there are 75 client combinations + for (int i=0; i