equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
30 * of intermittent failures caused by port reuse policy. |
30 * of intermittent failures caused by port reuse policy. |
31 * @library /test/lib |
31 * @library /test/lib |
32 * @build jdk.test.lib.NetworkConfiguration |
32 * @build jdk.test.lib.NetworkConfiguration |
33 * jdk.test.lib.Platform |
33 * jdk.test.lib.Platform |
34 * @run main TcpTest -d |
34 * @run main TcpTest -d |
|
35 * @run main/othervm -Djdk.net.usePlainSocketImpl TcpTest -d |
35 */ |
36 */ |
36 |
37 |
37 import java.net.*; |
38 import java.net.*; |
38 import java.io.*; |
39 import java.io.*; |
39 |
40 |