< prev index next >
test/jdk/java/lang/ClassLoader/securityManager/ClassLoaderTest.java
Print this page
rev 51638 : [mq]: 8210112
*** 25,34 ****
--- 25,35 ----
* @test
* @bug 8168423
* @summary Different types of ClassLoader running with(out) SecurityManager and
* (in)valid security policy file.
* @library /lib/testlibrary
+ * @library /test/lib
* @modules java.base/jdk.internal.module
* @build JarUtils
* @build TestClassLoader TestClient
* @run main ClassLoaderTest -noPolicy
* @run main ClassLoaderTest -validPolicy
*** 47,57 ****
import java.lang.module.ModuleDescriptor;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import jdk.internal.module.ModuleInfoWriter;
! import jdk.testlibrary.ProcessTools;
public class ClassLoaderTest {
private static final String SRC = System.getProperty("test.src");
private static final Path TEST_CLASSES =
--- 48,58 ----
import java.lang.module.ModuleDescriptor;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import jdk.internal.module.ModuleInfoWriter;
! import jdk.test.lib.process.ProcessTools;
public class ClassLoaderTest {
private static final String SRC = System.getProperty("test.src");
private static final Path TEST_CLASSES =
< prev index next >