jdk/test/java/net/httpclient/security/Driver.java
author skovalev
Mon, 03 Oct 2016 18:33:34 +0300
changeset 41355 f80c213ae8ff
parent 40684 2e37c119dc2a
child 41890 ab67b8f4f2fe
permissions -rw-r--r--
8166791: Fix module dependencies for networking component tests Reviewed-by: chegar, alanb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37791
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     1
/*
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     2
 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     4
 *
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    10
 *
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    15
 * accompanied this code).
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    16
 *
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    20
 *
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
40684
2e37c119dc2a 8164982: Fix legal notices in java/lang, java/net, java/util tests.
shurailine
parents: 37791
diff changeset
    23
 * questions.
37791
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    24
 */
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    25
41355
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    26
/*
37791
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    27
 * @test
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    28
 * @bug 8087112
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    29
 * @library /lib/testlibrary/
41355
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    30
 * @modules java.httpclient
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    31
 *          jdk.httpserver
37791
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    32
 * @build jdk.testlibrary.SimpleSSLContext jdk.testlibrary.Utils
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    33
 * @compile ../../../../com/sun/net/httpserver/LogFilter.java
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    34
 * @compile ../../../../com/sun/net/httpserver/FileServerHandler.java
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    35
 * @compile ../ProxyServer.java
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    36
 * @build Security
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    37
 *
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    38
 * @run driver/timeout=60 Driver
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    39
 */
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    40
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    41
/**
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    42
 * driver required for allocating free portnumbers and putting this number
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    43
 * into security policy file used in some tests.
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    44
 *
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    45
 * The tests are in Security.java and port number supplied in -Dport.number
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    46
 * and -Dport.number1 for tests that require a second free port
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    47
 */
41355
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    48
import java.io.File;
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    49
import java.io.FileOutputStream;
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    50
import java.io.IOException;
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    51
import java.io.InputStream;
f80c213ae8ff 8166791: Fix module dependencies for networking component tests
skovalev
parents: 40684
diff changeset
    52
import java.io.OutputStream;
37791
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    53
import java.util.ArrayList;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    54
import java.util.List;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    55
import java.util.stream.Collectors;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    56
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    57
import jdk.testlibrary.OutputAnalyzer;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    58
import jdk.testlibrary.Utils;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    59
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    60
/**
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    61
 * Driver for tests
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    62
 */
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    63
public class Driver {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    64
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    65
    public static void main(String[] args) throws Throwable {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    66
        System.out.println("Starting Driver");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    67
        runtest("1.policy", "1");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    68
        runtest("10.policy", "10");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    69
        runtest("11.policy", "11");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    70
        runtest("12.policy", "12");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    71
        System.out.println("DONE");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    72
    }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    73
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    74
    static class Logger extends Thread {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    75
        private final OutputStream ps;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    76
        private final InputStream stdout;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    77
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    78
        Logger(String cmdLine, Process p, String dir) throws IOException {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    79
            super();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    80
            setDaemon(true);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    81
            cmdLine = "Command line = [" + cmdLine + "]";
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    82
            stdout = p.getInputStream();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    83
            File f = File.createTempFile("debug", ".txt", new File(dir));
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    84
            ps = new FileOutputStream(f);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    85
            ps.write(cmdLine.getBytes());
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    86
            ps.flush();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    87
        }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    88
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    89
        public void run() {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    90
            try {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    91
                byte[] buf = new byte[128];
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    92
                int c;
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    93
                while ((c = stdout.read(buf)) != -1) {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    94
                    ps.write(buf, 0, c);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    95
                    ps.flush();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    96
                }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    97
                ps.close();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    98
            } catch (Throwable e) {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
    99
                e.printStackTrace();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   100
            }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   101
        }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   102
    }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   103
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   104
    public static void runtest(String policy, String testnum) throws Throwable {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   105
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   106
        String testJdk = System.getProperty("test.jdk", "?");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   107
        String testSrc = System.getProperty("test.src", "?");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   108
        String testClassPath = System.getProperty("test.class.path", "?");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   109
        String testClasses = System.getProperty("test.classes", "?");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   110
        String sep = System.getProperty("file.separator", "?");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   111
        String javaCmd = testJdk + sep + "bin" + sep + "java";
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   112
        int retval = 10; // 10 is special exit code denoting a bind error
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   113
                         // in which case, we retry
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   114
        while (retval == 10) {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   115
            List<String> cmd = new ArrayList<>();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   116
            cmd.add(javaCmd);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   117
            cmd.add("-Dtest.jdk=" + testJdk);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   118
            cmd.add("-Dtest.src=" + testSrc);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   119
            cmd.add("-Dtest.classes=" + testClasses);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   120
            cmd.add("-Djava.security.manager");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   121
            cmd.add("-Djava.security.policy=" + testSrc + sep + policy);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   122
            cmd.add("-Dport.number=" + Integer.toString(Utils.getFreePort()));
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   123
            cmd.add("-Dport.number1=" + Integer.toString(Utils.getFreePort()));
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   124
            cmd.add("-cp");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   125
            cmd.add(testClassPath);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   126
            cmd.add("Security");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   127
            cmd.add(testnum);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   128
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   129
            ProcessBuilder processBuilder = new ProcessBuilder(cmd)
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   130
                .redirectOutput(ProcessBuilder.Redirect.PIPE)
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   131
                .redirectErrorStream(true);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   132
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   133
            String cmdLine = cmd.stream().collect(Collectors.joining(" "));
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   134
            Process child = processBuilder.start();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   135
            Logger log = new Logger(cmdLine, child, testClasses);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   136
            log.start();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   137
            retval = child.waitFor();
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   138
            System.out.println("retval = " + retval);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   139
        }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   140
        if (retval != 0) {
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   141
            Thread.sleep(2000);
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   142
            throw new RuntimeException("Non zero return value");
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   143
        }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   144
    }
ae33107fd8b3 8155928: Remove hardcoded port numbers from httpclient/Security.java test
michaelm
parents:
diff changeset
   145
}