--- a/jdk/test/java/net/httpclient/security/Driver.java Fri Feb 10 12:28:52 2017 +0000
+++ b/jdk/test/java/net/httpclient/security/Driver.java Fri Feb 10 12:30:52 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()));