changeset 16681:cb3a760ccbb0

8174716: java/net/httpclient/security/Driver.java failing in JDK 9 Reviewed-by: alanb
author michaelm
date Fri, 10 Feb 2017 09:55:19 +0000
parents 297a26386644
children d18d6cbde5e3
files test/java/net/httpclient/security/Driver.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/net/httpclient/security/Driver.java	Thu Feb 09 18:33:28 2017 -0800
+++ b/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()));