Skip to content
Permalink
Browse files

8241674: Fix incorrect jtreg option in FilePublisherPermsTest

Replace jtreg option 'policy' with 'java.security.policy' to extend rather than replace policy

Reviewed-by: chegar, dfuchs
  • Loading branch information
FrauBoes committed Mar 26, 2020
1 parent d77c52b commit eb7c80a30802cffbb7b7d006cbdcda80f9c12240
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/jdk/java/net/httpclient/FilePublisher/FilePublisherPermsTest.java
@@ -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;

0 comments on commit eb7c80a

Please sign in to comment.