< prev index next >
test/jdk/java/lang/ClassLoader/getResource/GetResource.java
Print this page
rev 51638 : [mq]: 8210112
*** 23,33 ****
/*
* @test
* @bug 6760902
* @library /lib/testlibrary
! * @build jdk.testlibrary.ProcessTools
* @run testng GetResource
* @summary Empty path on bootclasspath is not default to current working
* directory for both class lookup and resource lookup whereas
* empty path on classpath is default to current working directory.
*/
--- 23,34 ----
/*
* @test
* @bug 6760902
* @library /lib/testlibrary
! * @library /test/lib
! * @build jdk.test.lib.process.ProcessTools
* @run testng GetResource
* @summary Empty path on bootclasspath is not default to current working
* directory for both class lookup and resource lookup whereas
* empty path on classpath is default to current working directory.
*/
*** 43,53 ****
import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import jdk.testlibrary.JDKToolFinder;
! import static jdk.testlibrary.ProcessTools.*;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
--- 44,54 ----
import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import jdk.testlibrary.JDKToolFinder;
! import static jdk.test.lib.process.ProcessTools.*;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
< prev index next >