changeset 58562:229c46cc80da

8241674: Fix incorrect jtreg option in FilePublisherPermsTest Summary: Replace jtreg option 'policy' with 'java.security.policy' to extend rather than replace policy Reviewed-by: chegar, dfuchs
author jboes
date Thu, 26 Mar 2020 14:58:53 +0000
parents 95b5ae26d526
children 04ac1d775349
files test/jdk/java/net/httpclient/FilePublisher/FilePublisherPermsTest.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/java/net/httpclient/FilePublisher/FilePublisherPermsTest.java	Thu Mar 26 10:29:31 2020 -0400
+++ b/test/jdk/java/net/httpclient/FilePublisher/FilePublisherPermsTest.java	Thu Mar 26 14:58:53 2020 +0000
@@ -37,9 +37,9 @@
  * @library /test/lib ../http2/server
  * @compile ../HttpServerAdapters.java
  * @build jdk.test.lib.net.SimpleSSLContext SecureZipFSProvider
- * @run testng/othervm/policy=FilePublisherPermsTest1.policy FilePublisherPermsTest
- * @run testng/othervm/policy=FilePublisherPermsTest2.policy FilePublisherPermsTest
- * @run testng/othervm/policy=FilePublisherPermsTest3.policy FilePublisherPermsTest
+ * @run testng/othervm/java.security.policy=FilePublisherPermsTest1.policy FilePublisherPermsTest
+ * @run testng/othervm/java.security.policy=FilePublisherPermsTest2.policy FilePublisherPermsTest
+ * @run testng/othervm/java.security.policy=FilePublisherPermsTest3.policy FilePublisherPermsTest
  */
 
 import com.sun.net.httpserver.HttpServer;