http-client-branch: remove superflous add-modules from security test http-client-branch
authorchegar
Wed, 07 Feb 2018 15:41:04 +0000
branchhttp-client-branch
changeset 56090 5c7fb702948a
parent 56089 42208b2f224e
child 56091 aedd6133e7a0
http-client-branch: remove superflous add-modules from security test
test/jdk/java/net/httpclient/security/Driver.java
--- a/test/jdk/java/net/httpclient/security/Driver.java	Wed Feb 07 14:17:24 2018 +0000
+++ b/test/jdk/java/net/httpclient/security/Driver.java	Wed Feb 07 15:41:04 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -127,7 +127,6 @@
             cmd.add("-Dtest.src=" + testSrc);
             cmd.add("-Dtest.classes=" + testClasses);
             cmd.add("-Djava.security.manager");
-            cmd.add("--add-modules=java.net.http");
             cmd.add("-Djava.security.policy=" + testSrc + sep + policy);
             cmd.add("-Dport.number=" + Integer.toString(Utils.getFreePort()));
             cmd.add("-Dport.number1=" + Integer.toString(Utils.getFreePort()));