8174716: java/net/httpclient/security/Driver.java failing in JDK 9
Reviewed-by: alanb
--- 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()));