< prev index next >

test/java/lang/reflect/Proxy/ProxyClassAccessTest.java

Print this page

        

*** 28,38 **** import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.List; ! import static jdk.testlibrary.ProcessTools.executeTestJava; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; import static org.testng.Assert.*; --- 28,38 ---- import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.List; ! import static jdk.testlibrary.ProcessTools.*; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; import static org.testng.Assert.*;
*** 71,82 **** /** * Run the modular test */ @Test public void runTest() throws Exception { ! int exitValue = executeTestJava("-mp", MODS_DIR.toString(), ! "-m", "test/jdk.test.ProxyClassAccess") .outputTo(System.out) .errorTo(System.out) .getExitValue(); assertTrue(exitValue == 0); --- 71,82 ---- /** * Run the modular test */ @Test public void runTest() throws Exception { ! int exitValue = executeProcess(createJavaProcessBuilder("-mp", MODS_DIR.toString(), ! "-m", "test/jdk.test.ProxyClassAccess")) .outputTo(System.out) .errorTo(System.out) .getExitValue(); assertTrue(exitValue == 0);
< prev index next >