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
This commit is contained in:
Julia Boes 2020-03-26 14:58:53 +00:00
parent d77c52b255
commit eb7c80a308

View File

@ -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;