8174716: java/net/httpclient/security/Driver.java failing in JDK 9
authormichaelm
Fri, 10 Feb 2017 09:55:19 +0000
changeset 43711 4f9c9cda3767
parent 43710 8fa2058eb740
child 43714 e950ff89f36d
8174716: java/net/httpclient/security/Driver.java failing in JDK 9 Reviewed-by: alanb
jdk/test/java/net/httpclient/security/Driver.java
--- a/jdk/test/java/net/httpclient/security/Driver.java	Thu Feb 09 18:33:28 2017 -0800
+++ b/jdk/test/java/net/httpclient/security/Driver.java	Fri Feb 10 09:55:19 2017 +0000
@@ -127,6 +127,7 @@
             cmd.add("-Dtest.src=" + testSrc);
             cmd.add("-Dtest.classes=" + testClasses);
             cmd.add("-Djava.security.manager");
+            cmd.add("--add-modules=jdk.incubator.httpclient");
             cmd.add("-Djava.security.policy=" + testSrc + sep + policy);
             cmd.add("-Dport.number=" + Integer.toString(Utils.getFreePort()));
             cmd.add("-Dport.number1=" + Integer.toString(Utils.getFreePort()));