test/jdk/java/security/Policy/ExtensiblePolicy/ExtensiblePolicyWithJarTest.java
changeset 51675 b487c1e914d0
parent 47216 71c04702a3d5
child 59104 046e4024e55a
equal deleted inserted replaced
51674:d7dcaacb95dd 51675:b487c1e914d0
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    24 import TVJar.TVPermission;
    24 import TVJar.TVPermission;
    25 import java.io.File;
    25 import java.io.File;
    26 import java.nio.file.Files;
    26 import java.nio.file.Files;
    27 import java.nio.file.Paths;
    27 import java.nio.file.Paths;
    28 import java.security.AccessController;
    28 import java.security.AccessController;
    29 import jdk.testlibrary.ProcessTools;
    29 import jdk.test.lib.process.ProcessTools;
    30 import jdk.test.lib.util.JarUtils;
    30 import jdk.test.lib.util.JarUtils;
    31 
    31 
    32 /**
    32 /**
    33  * @test
    33  * @test
    34  * @bug 8050402
    34  * @bug 8050402
    35  * @summary Check policy is extensible with user defined permissions
    35  * @summary Check policy is extensible with user defined permissions
    36  * @library /lib/testlibrary /test/lib
    36  * @library /test/lib
    37  * @build jdk.test.lib.util.JarUtils
    37  * @build jdk.test.lib.util.JarUtils
    38  * @compile TVJar/TVPermission.java
    38  * @compile TVJar/TVPermission.java
    39  * @run main ExtensiblePolicyWithJarTest
    39  * @run main ExtensiblePolicyWithJarTest
    40  */
    40  */
    41 public class ExtensiblePolicyWithJarTest {
    41 public class ExtensiblePolicyWithJarTest {