# HG changeset patch # User michaelm # Date 1486720519 0 # Node ID 4f9c9cda37674b49b838a0275a95306c7619412c # Parent 8fa2058eb740bc4c6b38fcdf49ba95275e61ad2c 8174716: java/net/httpclient/security/Driver.java failing in JDK 9 Reviewed-by: alanb diff -r 8fa2058eb740 -r 4f9c9cda3767 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()));