test/jdk/java/net/httpclient/security/Driver.java
branchhttp-client-branch
changeset 56090 5c7fb702948a
parent 56089 42208b2f224e
child 56261 a339fe1aab55
equal deleted inserted replaced
56089:42208b2f224e 56090:5c7fb702948a
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2018, 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.
   125             cmd.add("-esa");
   125             cmd.add("-esa");
   126             cmd.add("-Dtest.jdk=" + testJdk);
   126             cmd.add("-Dtest.jdk=" + testJdk);
   127             cmd.add("-Dtest.src=" + testSrc);
   127             cmd.add("-Dtest.src=" + testSrc);
   128             cmd.add("-Dtest.classes=" + testClasses);
   128             cmd.add("-Dtest.classes=" + testClasses);
   129             cmd.add("-Djava.security.manager");
   129             cmd.add("-Djava.security.manager");
   130             cmd.add("--add-modules=java.net.http");
       
   131             cmd.add("-Djava.security.policy=" + testSrc + sep + policy);
   130             cmd.add("-Djava.security.policy=" + testSrc + sep + policy);
   132             cmd.add("-Dport.number=" + Integer.toString(Utils.getFreePort()));
   131             cmd.add("-Dport.number=" + Integer.toString(Utils.getFreePort()));
   133             cmd.add("-Dport.number1=" + Integer.toString(Utils.getFreePort()));
   132             cmd.add("-Dport.number1=" + Integer.toString(Utils.getFreePort()));
   134             cmd.add("-Djdk.httpclient.HttpClient.log=all,frames:all");
   133             cmd.add("-Djdk.httpclient.HttpClient.log=all,frames:all");
   135             cmd.add("-cp");
   134             cmd.add("-cp");